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.
7774 7775 7776 7777 |
# File 'lib/v20190612/models.rb', line 7774 def initialize(destinations=nil, chunksize=nil) @Destinations = destinations @ChunkSize = chunksize end |
Instance Attribute Details
#ChunkSize ⇒ Object
7772 7773 7774 |
# File 'lib/v20190612/models.rb', line 7772 def ChunkSize @ChunkSize end |
#Destinations ⇒ Object
7772 7773 7774 |
# File 'lib/v20190612/models.rb', line 7772 def Destinations @Destinations end |
Instance Method Details
#deserialize(params) ⇒ Object
7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 |
# File 'lib/v20190612/models.rb', line 7779 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 |