Class: TencentCloud::Mps::V20190612::DescribeOutputRISTSettings

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

Overview

查询输出的RIST拉流配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mode = nil, profile = nil, buffer = nil, sourceaddresses = nil) ⇒ DescribeOutputRISTSettings

Returns a new instance of DescribeOutputRISTSettings.



13288
13289
13290
13291
13292
13293
# File 'lib/v20190612/models.rb', line 13288

def initialize(mode=nil, profile=nil, buffer=nil, sourceaddresses=nil)
  @Mode = mode
  @Profile = profile
  @Buffer = buffer
  @SourceAddresses = sourceaddresses
end

Instance Attribute Details

#BufferObject

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

Parameters:

  • Mode:

    RIST模式,可选[LISTENER|CALLER],默认为LISTENER。

  • Profile:

    RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120

  • SourceAddresses:

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



13286
13287
13288
# File 'lib/v20190612/models.rb', line 13286

def Buffer
  @Buffer
end

#ModeObject

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

Parameters:

  • Mode:

    RIST模式,可选[LISTENER|CALLER],默认为LISTENER。

  • Profile:

    RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120

  • SourceAddresses:

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



13286
13287
13288
# File 'lib/v20190612/models.rb', line 13286

def Mode
  @Mode
end

#ProfileObject

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

Parameters:

  • Mode:

    RIST模式,可选[LISTENER|CALLER],默认为LISTENER。

  • Profile:

    RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120

  • SourceAddresses:

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



13286
13287
13288
# File 'lib/v20190612/models.rb', line 13286

def Profile
  @Profile
end

#SourceAddressesObject

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

Parameters:

  • Mode:

    RIST模式,可选[LISTENER|CALLER],默认为LISTENER。

  • Profile:

    RIST配置方案,可选[MAIN|SIMPLE],默认为MAIN。

  • Buffer:

    RIST缓冲区大小,单位为毫秒。最小值为50毫秒,最大值为5000毫秒。默认值:120

  • SourceAddresses:

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



13286
13287
13288
# File 'lib/v20190612/models.rb', line 13286

def SourceAddresses
  @SourceAddresses
end

Instance Method Details

#deserialize(params) ⇒ Object



13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
# File 'lib/v20190612/models.rb', line 13295

def deserialize(params)
  @Mode = params['Mode']
  @Profile = params['Profile']
  @Buffer = params['Buffer']
  unless params['SourceAddresses'].nil?
    @SourceAddresses = []
    params['SourceAddresses'].each do |i|
      outputristsourceaddressresp_tmp = OutputRISTSourceAddressResp.new
      outputristsourceaddressresp_tmp.deserialize(i)
      @SourceAddresses << outputristsourceaddressresp_tmp
    end
  end
end