Class: TencentCloud::Mps::V20190612::DescribeOutputSRTSettings

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

Overview

查询输出的SRT配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destinations = nil, streamid = nil, latency = nil, recvlatency = nil, peerlatency = nil, peeridletimeout = nil, passphrase = nil, pbkeylen = nil, mode = nil, sourceaddresses = nil, fec = nil) ⇒ DescribeOutputSRTSettings

Returns a new instance of DescribeOutputSRTSettings.



13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
# File 'lib/v20190612/models.rb', line 13499

def initialize(destinations=nil, streamid=nil, latency=nil, recvlatency=nil, peerlatency=nil, peeridletimeout=nil, passphrase=nil, pbkeylen=nil, mode=nil, sourceaddresses=nil, fec=nil)
  @Destinations = destinations
  @StreamId = streamid
  @Latency = latency
  @RecvLatency = recvlatency
  @PeerLatency = peerlatency
  @PeerIdleTimeout = peeridletimeout
  @Passphrase = passphrase
  @PbKeyLen = pbkeylen
  @Mode = mode
  @SourceAddresses = sourceaddresses
  @FEC = fec
end

Instance Attribute Details

#DestinationsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def Destinations
  @Destinations
end

#FECObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def FEC
  @FEC
end

#LatencyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def Latency
  @Latency
end

#ModeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def Mode
  @Mode
end

#PassphraseObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def Passphrase
  @Passphrase
end

#PbKeyLenObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def PbKeyLen
  @PbKeyLen
end

#PeerIdleTimeoutObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def PeerIdleTimeout
  @PeerIdleTimeout
end

#PeerLatencyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def PeerLatency
  @PeerLatency
end

#RecvLatencyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def RecvLatency
  @RecvLatency
end

#SourceAddressesObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def SourceAddresses
  @SourceAddresses
end

#StreamIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Destinations:

    转推的目标的地址信息列表,SRT模式为CALLER时使用。

  • StreamId:

    流Id。

  • Latency:

    延迟。

  • RecvLatency:

    接收延迟。

  • PeerLatency:

    对端延迟。

  • PeerIdleTimeout:

    对端空闲超时时间。

  • Passphrase:

    加密密钥。

  • PbKeyLen:

    加密密钥长度。

  • Mode:

    SRT模式。

  • SourceAddresses:

    服务器监听地址,SRT模式为LISTENER时使用。

  • FEC:

    FEC 配置



13497
13498
13499
# File 'lib/v20190612/models.rb', line 13497

def StreamId
  @StreamId
end

Instance Method Details

#deserialize(params) ⇒ Object



13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
# File 'lib/v20190612/models.rb', line 13513

def deserialize(params)
  unless params['Destinations'].nil?
    @Destinations = []
    params['Destinations'].each do |i|
      srtaddressdestination_tmp = SRTAddressDestination.new
      srtaddressdestination_tmp.deserialize(i)
      @Destinations << srtaddressdestination_tmp
    end
  end
  @StreamId = params['StreamId']
  @Latency = params['Latency']
  @RecvLatency = params['RecvLatency']
  @PeerLatency = params['PeerLatency']
  @PeerIdleTimeout = params['PeerIdleTimeout']
  @Passphrase = params['Passphrase']
  @PbKeyLen = params['PbKeyLen']
  @Mode = params['Mode']
  unless params['SourceAddresses'].nil?
    @SourceAddresses = []
    params['SourceAddresses'].each do |i|
      outputsrtsourceaddressresp_tmp = OutputSRTSourceAddressResp.new
      outputsrtsourceaddressresp_tmp.deserialize(i)
      @SourceAddresses << outputsrtsourceaddressresp_tmp
    end
  end
  unless params['FEC'].nil?
    @FEC = SRTFECFullOptions.new
    @FEC.deserialize(params['FEC'])
  end
end