Class: TencentCloud::Cme::V20191029::SwitcherPgmOutputConfig

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191029/models.rb

Overview

导播台主监输出配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(templateid = nil, width = nil, height = nil, fps = nil, bitrate = nil) ⇒ SwitcherPgmOutputConfig

Returns a new instance of SwitcherPgmOutputConfig.



5944
5945
5946
5947
5948
5949
5950
# File 'lib/v20191029/models.rb', line 5944

def initialize(templateid=nil, width=nil, height=nil, fps=nil, bitrate=nil)
  @TemplateId = templateid
  @Width = width
  @Height = height
  @Fps = fps
  @BitRate = bitrate
end

Instance Attribute Details

#BitRateObject

<li>10001:分辨率为1080 P;</li> <li>10002:分辨率为720 P;</li> <li>10003:分辨率为480 P。</li>

Parameters:

  • TemplateId:

    导播台输出模板 ID,可取值:

  • Width:

    导播台输出宽,单位:像素。

  • Height:

    导播台输出高,单位:像素。

  • Fps:

    导播台输出帧率,单位:帧/秒

  • BitRate:

    导播台输出码率, 单位:bit/s。



5942
5943
5944
# File 'lib/v20191029/models.rb', line 5942

def BitRate
  @BitRate
end

#FpsObject

<li>10001:分辨率为1080 P;</li> <li>10002:分辨率为720 P;</li> <li>10003:分辨率为480 P。</li>

Parameters:

  • TemplateId:

    导播台输出模板 ID,可取值:

  • Width:

    导播台输出宽,单位:像素。

  • Height:

    导播台输出高,单位:像素。

  • Fps:

    导播台输出帧率,单位:帧/秒

  • BitRate:

    导播台输出码率, 单位:bit/s。



5942
5943
5944
# File 'lib/v20191029/models.rb', line 5942

def Fps
  @Fps
end

#HeightObject

<li>10001:分辨率为1080 P;</li> <li>10002:分辨率为720 P;</li> <li>10003:分辨率为480 P。</li>

Parameters:

  • TemplateId:

    导播台输出模板 ID,可取值:

  • Width:

    导播台输出宽,单位:像素。

  • Height:

    导播台输出高,单位:像素。

  • Fps:

    导播台输出帧率,单位:帧/秒

  • BitRate:

    导播台输出码率, 单位:bit/s。



5942
5943
5944
# File 'lib/v20191029/models.rb', line 5942

def Height
  @Height
end

#TemplateIdObject

<li>10001:分辨率为1080 P;</li> <li>10002:分辨率为720 P;</li> <li>10003:分辨率为480 P。</li>

Parameters:

  • TemplateId:

    导播台输出模板 ID,可取值:

  • Width:

    导播台输出宽,单位:像素。

  • Height:

    导播台输出高,单位:像素。

  • Fps:

    导播台输出帧率,单位:帧/秒

  • BitRate:

    导播台输出码率, 单位:bit/s。



5942
5943
5944
# File 'lib/v20191029/models.rb', line 5942

def TemplateId
  @TemplateId
end

#WidthObject

<li>10001:分辨率为1080 P;</li> <li>10002:分辨率为720 P;</li> <li>10003:分辨率为480 P。</li>

Parameters:

  • TemplateId:

    导播台输出模板 ID,可取值:

  • Width:

    导播台输出宽,单位:像素。

  • Height:

    导播台输出高,单位:像素。

  • Fps:

    导播台输出帧率,单位:帧/秒

  • BitRate:

    导播台输出码率, 单位:bit/s。



5942
5943
5944
# File 'lib/v20191029/models.rb', line 5942

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



5952
5953
5954
5955
5956
5957
5958
# File 'lib/v20191029/models.rb', line 5952

def deserialize(params)
  @TemplateId = params['TemplateId']
  @Width = params['Width']
  @Height = params['Height']
  @Fps = params['Fps']
  @BitRate = params['BitRate']
end