Class: TencentCloud::Mps::V20190612::CreateOutputRistSettings

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) ⇒ CreateOutputRistSettings

Returns a new instance of CreateOutputRistSettings.



8953
8954
8955
8956
8957
# File 'lib/v20190612/models.rb', line 8953

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

Instance Attribute Details

#BufferObject

Parameters:

  • Mode:

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

  • Profile:

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

  • Buffer:

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



8951
8952
8953
# File 'lib/v20190612/models.rb', line 8951

def Buffer
  @Buffer
end

#ModeObject

Parameters:

  • Mode:

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

  • Profile:

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

  • Buffer:

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



8951
8952
8953
# File 'lib/v20190612/models.rb', line 8951

def Mode
  @Mode
end

#ProfileObject

Parameters:

  • Mode:

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

  • Profile:

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

  • Buffer:

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



8951
8952
8953
# File 'lib/v20190612/models.rb', line 8951

def Profile
  @Profile
end

Instance Method Details

#deserialize(params) ⇒ Object



8959
8960
8961
8962
8963
# File 'lib/v20190612/models.rb', line 8959

def deserialize(params)
  @Mode = params['Mode']
  @Profile = params['Profile']
  @Buffer = params['Buffer']
end