Class: TencentCloud::Vod::V20180717::MediaVideoStreamItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::MediaVideoStreamItem
- Defined in:
- lib/v20180717/models.rb
Overview
点播文件视频流信息
Instance Attribute Summary collapse
-
#Bitrate ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
-
#Codec ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
-
#CodecTag ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
-
#DynamicRangeInfo ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
-
#Fps ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
-
#Height ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
-
#Width ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil, codectag = nil, dynamicrangeinfo = nil) ⇒ MediaVideoStreamItem
constructor
A new instance of MediaVideoStreamItem.
Constructor Details
#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil, codectag = nil, dynamicrangeinfo = nil) ⇒ MediaVideoStreamItem
18758 18759 18760 18761 18762 18763 18764 18765 18766 |
# File 'lib/v20180717/models.rb', line 18758 def initialize(bitrate=nil, height=nil, width=nil, codec=nil, fps=nil, codectag=nil, dynamicrangeinfo=nil) @Bitrate = bitrate @Height = height @Width = width @Codec = codec @Fps = fps @CodecTag = codectag @DynamicRangeInfo = dynamicrangeinfo end |
Instance Attribute Details
#Bitrate ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def Bitrate @Bitrate end |
#Codec ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def Codec @Codec end |
#CodecTag ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def CodecTag @CodecTag end |
#DynamicRangeInfo ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def DynamicRangeInfo @DynamicRangeInfo end |
#Fps ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def Fps @Fps end |
#Height ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def Height @Height end |
#Width ⇒ Object
<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
18756 18757 18758 |
# File 'lib/v20180717/models.rb', line 18756 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 |
# File 'lib/v20180717/models.rb', line 18768 def deserialize(params) @Bitrate = params['Bitrate'] @Height = params['Height'] @Width = params['Width'] @Codec = params['Codec'] @Fps = params['Fps'] @CodecTag = params['CodecTag'] unless params['DynamicRangeInfo'].nil? @DynamicRangeInfo = DynamicRangeInfo.new @DynamicRangeInfo.deserialize(params['DynamicRangeInfo']) end end |