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

Returns a new instance of DescribeCasterPlayUrlResponse.



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

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

Instance Attribute Details

#PlayUrlObject

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

Parameters:

  • PlayUrl:

    播放url。

  • WebRTCPlayUrl:

    webrtc协议播放地址。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5940
5941
5942
# File 'lib/v20180801/models.rb', line 5940

def PlayUrl
  @PlayUrl
end

#RequestIdObject

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

Parameters:

  • PlayUrl:

    播放url。

  • WebRTCPlayUrl:

    webrtc协议播放地址。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5940
5941
5942
# File 'lib/v20180801/models.rb', line 5940

def RequestId
  @RequestId
end

#WebRTCPlayUrlObject

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

Parameters:

  • PlayUrl:

    播放url。

  • WebRTCPlayUrl:

    webrtc协议播放地址。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5940
5941
5942
# File 'lib/v20180801/models.rb', line 5940

def WebRTCPlayUrl
  @WebRTCPlayUrl
end

Instance Method Details

#deserialize(params) ⇒ Object



5948
5949
5950
5951
5952
# File 'lib/v20180801/models.rb', line 5948

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