Class: TencentCloud::Mps::V20190612::CreateOutputRTMPSettings
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateOutputRTMPSettings
- Defined in:
- lib/v20190612/models.rb
Overview
创建媒体传输流的输出的RTMP配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(destinations = nil, chunksize = nil) ⇒ CreateOutputRTMPSettings
constructor
A new instance of CreateOutputRTMPSettings.
Constructor Details
#initialize(destinations = nil, chunksize = nil) ⇒ CreateOutputRTMPSettings
Returns a new instance of CreateOutputRTMPSettings.
8904 8905 8906 8907 |
# File 'lib/v20190612/models.rb', line 8904 def initialize(destinations=nil, chunksize=nil) @Destinations = destinations @ChunkSize = chunksize end |
Instance Attribute Details
#ChunkSize ⇒ Object
8902 8903 8904 |
# File 'lib/v20190612/models.rb', line 8902 def ChunkSize @ChunkSize end |
#Destinations ⇒ Object
8902 8903 8904 |
# File 'lib/v20190612/models.rb', line 8902 def Destinations @Destinations end |
Instance Method Details
#deserialize(params) ⇒ Object
8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 |
# File 'lib/v20190612/models.rb', line 8909 def deserialize(params) unless params['Destinations'].nil? @Destinations = [] params['Destinations'].each do |i| createoutputrtmpsettingsdestinations_tmp = CreateOutputRtmpSettingsDestinations.new createoutputrtmpsettingsdestinations_tmp.deserialize(i) @Destinations << createoutputrtmpsettingsdestinations_tmp end end @ChunkSize = params['ChunkSize'] end |