Class: TencentCloud::Live::V20180801::CasterOutputInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CasterOutputInfo
- Defined in:
- lib/v20180801/models.rb
Overview
导播台推流信息。当导播台主监启动后,系统将自动将主监推流到腾讯云和其他第三方平台。
Instance Attribute Summary collapse
- #Description ⇒ Object
- #OutputAppName ⇒ Object
- #OutputDomainName ⇒ Object
- #OutputIndex ⇒ Object
- #OutputParam ⇒ Object
- #OutputStreamId ⇒ Object
- #OutputType ⇒ Object
- #OutputUrl ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(outputindex = nil, outputurl = nil, description = nil, outputstreamid = nil, outputtype = nil, outputdomainname = nil, outputappname = nil, outputparam = nil) ⇒ CasterOutputInfo
constructor
A new instance of CasterOutputInfo.
Constructor Details
#initialize(outputindex = nil, outputurl = nil, description = nil, outputstreamid = nil, outputtype = nil, outputdomainname = nil, outputappname = nil, outputparam = nil) ⇒ CasterOutputInfo
Returns a new instance of CasterOutputInfo.
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 |
# File 'lib/v20180801/models.rb', line 1477 def initialize(outputindex=nil, outputurl=nil, description=nil, outputstreamid=nil, outputtype=nil, outputdomainname=nil, outputappname=nil, outputparam=nil) @OutputIndex = outputindex @OutputUrl = outputurl @Description = description @OutputStreamId = outputstreamid @OutputType = outputtype @OutputDomainName = outputdomainname @OutputAppName = outputappname @OutputParam = outputparam end |
Instance Attribute Details
#Description ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def Description @Description end |
#OutputAppName ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputAppName @OutputAppName end |
#OutputDomainName ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputDomainName @OutputDomainName end |
#OutputIndex ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputIndex @OutputIndex end |
#OutputParam ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputParam @OutputParam end |
#OutputStreamId ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputStreamId @OutputStreamId end |
#OutputType ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputType @OutputType end |
#OutputUrl ⇒ Object
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。范围。最大允许长度512字符。仅当OutputType为1时生效。最大允许128字符。范围
-
推送到腾讯云直播源站。
-
推送到第三方源站。
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。仅在OutputType为1时生效。最大允许64字符。仅在OutputType为1时生效。最大允许长度256字符。仅在OutputType为1时生效。
1475 1476 1477 |
# File 'lib/v20180801/models.rb', line 1475 def OutputUrl @OutputUrl end |
Instance Method Details
#deserialize(params) ⇒ Object
1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 |
# File 'lib/v20180801/models.rb', line 1488 def deserialize(params) @OutputIndex = params['OutputIndex'] @OutputUrl = params['OutputUrl'] @Description = params['Description'] @OutputStreamId = params['OutputStreamId'] @OutputType = params['OutputType'] @OutputDomainName = params['OutputDomainName'] @OutputAppName = params['OutputAppName'] @OutputParam = params['OutputParam'] end |