Class: TencentCloud::Mps::V20190612::CreateOutputInfo

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20190612/models.rb

Overview

创建输出的配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(outputname = nil, description = nil, protocol = nil, outputregion = nil, outputtype = nil, outputkind = nil, srtsettings = nil, rtmpsettings = nil, rtpsettings = nil, allowiplist = nil, maxconcurrent = nil, securitygroupids = nil, zones = nil, ristsettings = nil, pidselector = nil, streamselector = nil) ⇒ CreateOutputInfo

Returns a new instance of CreateOutputInfo.



8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
# File 'lib/v20190612/models.rb', line 8732

def initialize(outputname=nil, description=nil, protocol=nil, outputregion=nil, outputtype=nil, outputkind=nil, srtsettings=nil, rtmpsettings=nil, rtpsettings=nil, allowiplist=nil, maxconcurrent=nil, securitygroupids=nil, zones=nil, ristsettings=nil, pidselector=nil, streamselector=nil)
  @OutputName = outputname
  @Description = description
  @Protocol = protocol
  @OutputRegion = outputregion
  @OutputType = outputtype
  @OutputKind = outputkind
  @SRTSettings = srtsettings
  @RTMPSettings = rtmpsettings
  @RTPSettings = rtpsettings
  @AllowIpList = allowiplist
  @MaxConcurrent = maxconcurrent
  @SecurityGroupIds = securitygroupids
  @Zones = zones
  @RISTSettings = ristsettings
  @PidSelector = pidselector
  @StreamSelector = streamselector
end

Instance Attribute Details

#AllowIpListObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def AllowIpList
  @AllowIpList
end

#DescriptionObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def Description
  @Description
end

#MaxConcurrentObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def MaxConcurrent
  @MaxConcurrent
end

#OutputKindObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def OutputKind
  @OutputKind
end

#OutputNameObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def OutputName
  @OutputName
end

#OutputRegionObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def OutputRegion
  @OutputRegion
end

#OutputTypeObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def OutputType
  @OutputType
end

#PidSelectorObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def PidSelector
  @PidSelector
end

#ProtocolObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def Protocol
  @Protocol
end

#RISTSettingsObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def RISTSettings
  @RISTSettings
end

#RTMPSettingsObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def RTMPSettings
  @RTMPSettings
end

#RTPSettingsObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def RTPSettings
  @RTPSettings
end

#SecurityGroupIdsObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def SecurityGroupIds
  @SecurityGroupIds
end

#SRTSettingsObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def SRTSettings
  @SRTSettings
end

#StreamSelectorObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def StreamSelector
  @StreamSelector
end

#ZonesObject

当Protocol为RTMP_PULL有效,为空代表不限制客户端IP。

Parameters:

  • OutputName:

    输出的名称。

  • Description:

    输出描述。

  • Protocol:

    输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。

  • OutputRegion:

    输出地区。

  • OutputType:

    输出类型:Internet/TencentCSS

  • OutputKind:

    输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出

  • SRTSettings:

    输出的SRT的配置。

  • RTMPSettings:

    输出的RTMP的配置。

  • RTPSettings:

    输出的RTP的配置。

  • AllowIpList:

    IP白名单列表,格式为CIDR,如0.0.0.0/0。

  • MaxConcurrent:

    最大拉流并发数,最大4,默认4。

  • SecurityGroupIds:

    绑定的输入安全组 ID。

  • Zones:

    可用区,output最多只支持输入一个可用区。

  • RISTSettings:

    输出的RIST的配置。

  • PidSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个

  • StreamSelector:

    对于含有多个音/视频轨的流,可以指定需要使用的轨道。PidSelector 与 TrackSelector 只能存在一个



8727
8728
8729
# File 'lib/v20190612/models.rb', line 8727

def Zones
  @Zones
end

Instance Method Details

#deserialize(params) ⇒ Object



8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
# File 'lib/v20190612/models.rb', line 8751

def deserialize(params)
  @OutputName = params['OutputName']
  @Description = params['Description']
  @Protocol = params['Protocol']
  @OutputRegion = params['OutputRegion']
  @OutputType = params['OutputType']
  @OutputKind = params['OutputKind']
  unless params['SRTSettings'].nil?
    @SRTSettings = CreateOutputSRTSettings.new
    @SRTSettings.deserialize(params['SRTSettings'])
  end
  unless params['RTMPSettings'].nil?
    @RTMPSettings = CreateOutputRTMPSettings.new
    @RTMPSettings.deserialize(params['RTMPSettings'])
  end
  unless params['RTPSettings'].nil?
    @RTPSettings = CreateOutputInfoRTPSettings.new
    @RTPSettings.deserialize(params['RTPSettings'])
  end
  @AllowIpList = params['AllowIpList']
  @MaxConcurrent = params['MaxConcurrent']
  @SecurityGroupIds = params['SecurityGroupIds']
  @Zones = params['Zones']
  unless params['RISTSettings'].nil?
    @RISTSettings = CreateOutputRistSettings.new
    @RISTSettings.deserialize(params['RISTSettings'])
  end
  unless params['PidSelector'].nil?
    @PidSelector = PidSelector.new
    @PidSelector.deserialize(params['PidSelector'])
  end
  unless params['StreamSelector'].nil?
    @StreamSelector = StreamSelector.new
    @StreamSelector.deserialize(params['StreamSelector'])
  end
end