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.



8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
# File 'lib/v20190612/models.rb', line 8807

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

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 只能存在一个



8802
8803
8804
# File 'lib/v20190612/models.rb', line 8802

def Zones
  @Zones
end

Instance Method Details

#deserialize(params) ⇒ Object



8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
# File 'lib/v20190612/models.rb', line 8826

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