Class: TencentCloud::Mps::V20190612::DescribeInputSRTSettings

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(mode = nil, streamid = nil, latency = nil, recvlatency = nil, peerlatency = nil, peeridletimeout = nil, passphrase = nil, pbkeylen = nil, sourceaddresses = nil, fec = nil) ⇒ DescribeInputSRTSettings

Returns a new instance of DescribeInputSRTSettings.



12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
# File 'lib/v20190612/models.rb', line 12934

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

Instance Attribute Details

#FECObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def FEC
  @FEC
end

#LatencyObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def Latency
  @Latency
end

#ModeObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def Mode
  @Mode
end

#PassphraseObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def Passphrase
  @Passphrase
end

#PbKeyLenObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def PbKeyLen
  @PbKeyLen
end

#PeerIdleTimeoutObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def PeerIdleTimeout
  @PeerIdleTimeout
end

#PeerLatencyObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def PeerLatency
  @PeerLatency
end

#RecvLatencyObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def RecvLatency
  @RecvLatency
end

#SourceAddressesObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def SourceAddresses
  @SourceAddresses
end

#StreamIdObject

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

Parameters:

  • SRT模式。

  • 流Id。

  • 延迟。

  • 接收延迟。

  • 对端延迟。

  • 对端空闲超时时间。

  • 解密密钥。

  • 密钥长度。

  • SRT对端地址。

  • FEC 设置



12932
12933
12934
# File 'lib/v20190612/models.rb', line 12932

def StreamId
  @StreamId
end

Instance Method Details

#deserialize(params) ⇒ Object



12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
# File 'lib/v20190612/models.rb', line 12947

def deserialize(params)
  @Mode = params['Mode']
  @StreamId = params['StreamId']
  @Latency = params['Latency']
  @RecvLatency = params['RecvLatency']
  @PeerLatency = params['PeerLatency']
  @PeerIdleTimeout = params['PeerIdleTimeout']
  @Passphrase = params['Passphrase']
  @PbKeyLen = params['PbKeyLen']
  unless params['SourceAddresses'].nil?
    @SourceAddresses = []
    params['SourceAddresses'].each do |i|
      srtsourceaddressresp_tmp = SRTSourceAddressResp.new
      srtsourceaddressresp_tmp.deserialize(i)
      @SourceAddresses << srtsourceaddressresp_tmp
    end
  end
  unless params['FEC'].nil?
    @FEC = SRTFECSimpleOptions.new
    @FEC.deserialize(params['FEC'])
  end
end