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.
8829 8830 8831 8832 |
# File 'lib/v20190612/models.rb', line 8829 def initialize(destinations=nil, chunksize=nil) @Destinations = destinations @ChunkSize = chunksize end |
Instance Attribute Details
#ChunkSize ⇒ Object
8827 8828 8829 |
# File 'lib/v20190612/models.rb', line 8827 def ChunkSize @ChunkSize end |
#Destinations ⇒ Object
8827 8828 8829 |
# File 'lib/v20190612/models.rb', line 8827 def Destinations @Destinations end |
Instance Method Details
#deserialize(params) ⇒ Object
8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 |
# File 'lib/v20190612/models.rb', line 8834 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 |