Class: TencentCloud::Live::V20180801::MonitorStreamPlayInfo

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

Overview

监控播放数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(playdomain = nil, streamname = nil, rate = nil, protocol = nil, bandwidth = nil, online = nil, request = nil) ⇒ MonitorStreamPlayInfo

Returns a new instance of MonitorStreamPlayInfo.



13277
13278
13279
13280
13281
13282
13283
13284
13285
# File 'lib/v20180801/models.rb', line 13277

def initialize(playdomain=nil, streamname=nil, rate=nil, protocol=nil, bandwidth=nil, online=nil, request=nil)
  @PlayDomain = playdomain
  @StreamName = streamname
  @Rate = rate
  @Protocol = protocol
  @Bandwidth = bandwidth
  @Online = online
  @Request = request
end

Instance Attribute Details

#BandwidthObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def Bandwidth
  @Bandwidth
end

#OnlineObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def Online
  @Online
end

#PlayDomainObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def PlayDomain
  @PlayDomain
end

#ProtocolObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def Protocol
  @Protocol
end

#RateObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def Rate
  @Rate
end

#RequestObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def Request
  @Request
end

#StreamNameObject

Parameters:

  • PlayDomain:

    播放域名。

  • StreamName:

    流id。

  • Rate:

    播放码率,0表示原始码率。

  • Protocol:

    播放协议,可选值包括 Unknown,Flv,Hls,Rtmp,Huyap2p。

  • Bandwidth:

    带宽,单位是Mbps。

  • Online:

    在线人数,1分钟采样一个点,统计采样点的tcp链接数目。

  • Request:

    请求数。



13275
13276
13277
# File 'lib/v20180801/models.rb', line 13275

def StreamName
  @StreamName
end

Instance Method Details

#deserialize(params) ⇒ Object



13287
13288
13289
13290
13291
13292
13293
13294
13295
# File 'lib/v20180801/models.rb', line 13287

def deserialize(params)
  @PlayDomain = params['PlayDomain']
  @StreamName = params['StreamName']
  @Rate = params['Rate']
  @Protocol = params['Protocol']
  @Bandwidth = params['Bandwidth']
  @Online = params['Online']
  @Request = params['Request']
end