Class: TencentCloud::Live::V20180801::DescribeCasterPlayUrlResponse

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

Overview

DescribeCasterPlayUrl返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(playurl = nil, webrtcplayurl = nil, requestid = nil) ⇒ DescribeCasterPlayUrlResponse



5936
5937
5938
5939
5940
# File 'lib/v20180801/models.rb', line 5936

def initialize(playurl=nil, webrtcplayurl=nil, requestid=nil)
  @PlayUrl = playurl
  @WebRTCPlayUrl = webrtcplayurl
  @RequestId = requestid
end

Instance Attribute Details

#PlayUrlObject

当导播台不存在预监或主监时,若请求预监或主监的播放地址,该字段为空。当导播台不存在预监或主监时,若请求预监或主监的webrtc播放地址,该字段为空。注:webrtc协议播放地址需配合腾讯云快直播播放sdk方可使用。



5934
5935
5936
# File 'lib/v20180801/models.rb', line 5934

def PlayUrl
  @PlayUrl
end

#RequestIdObject

当导播台不存在预监或主监时,若请求预监或主监的播放地址,该字段为空。当导播台不存在预监或主监时,若请求预监或主监的webrtc播放地址,该字段为空。注:webrtc协议播放地址需配合腾讯云快直播播放sdk方可使用。



5934
5935
5936
# File 'lib/v20180801/models.rb', line 5934

def RequestId
  @RequestId
end

#WebRTCPlayUrlObject

当导播台不存在预监或主监时,若请求预监或主监的播放地址,该字段为空。当导播台不存在预监或主监时,若请求预监或主监的webrtc播放地址,该字段为空。注:webrtc协议播放地址需配合腾讯云快直播播放sdk方可使用。



5934
5935
5936
# File 'lib/v20180801/models.rb', line 5934

def WebRTCPlayUrl
  @WebRTCPlayUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



5942
5943
5944
5945
5946
# File 'lib/v20180801/models.rb', line 5942

def deserialize(params)
  @PlayUrl = params['PlayUrl']
  @WebRTCPlayUrl = params['WebRTCPlayUrl']
  @RequestId = params['RequestId']
end