Class: TencentCloud::Live::V20180801::CreateCasterPvwResponse

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

Overview

CreateCasterPvw返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pvwplayurl = nil, pvwwebrtcplayurl = nil, requestid = nil) ⇒ CreateCasterPvwResponse

Returns a new instance of CreateCasterPvwResponse.



2344
2345
2346
2347
2348
# File 'lib/v20180801/models.rb', line 2344

def initialize(pvwplayurl=nil, pvwwebrtcplayurl=nil, requestid=nil)
  @PvwPlayUrl = pvwplayurl
  @PvwWebRTCPlayUrl = pvwwebrtcplayurl
  @RequestId = requestid
end

Instance Attribute Details

#PvwPlayUrlObject

注:该预览地址仅供画面预览,不可分发。注:

  1. 该预览地址仅供预览,不可分发。

  2. webrtc播放地址,需配合腾讯云快直播播放sdk使用

Parameters:

  • PvwPlayUrl:

    预监任务的画面rtmp协议预览地址。

  • PvwWebRTCPlayUrl:

    预监任务的webrtc协议预览画面。

  • RequestId:

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



2342
2343
2344
# File 'lib/v20180801/models.rb', line 2342

def PvwPlayUrl
  @PvwPlayUrl
end

#PvwWebRTCPlayUrlObject

注:该预览地址仅供画面预览,不可分发。注:

  1. 该预览地址仅供预览,不可分发。

  2. webrtc播放地址,需配合腾讯云快直播播放sdk使用

Parameters:

  • PvwPlayUrl:

    预监任务的画面rtmp协议预览地址。

  • PvwWebRTCPlayUrl:

    预监任务的webrtc协议预览画面。

  • RequestId:

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



2342
2343
2344
# File 'lib/v20180801/models.rb', line 2342

def PvwWebRTCPlayUrl
  @PvwWebRTCPlayUrl
end

#RequestIdObject

注:该预览地址仅供画面预览,不可分发。注:

  1. 该预览地址仅供预览,不可分发。

  2. webrtc播放地址,需配合腾讯云快直播播放sdk使用

Parameters:

  • PvwPlayUrl:

    预监任务的画面rtmp协议预览地址。

  • PvwWebRTCPlayUrl:

    预监任务的webrtc协议预览画面。

  • RequestId:

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



2342
2343
2344
# File 'lib/v20180801/models.rb', line 2342

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2350
2351
2352
2353
2354
# File 'lib/v20180801/models.rb', line 2350

def deserialize(params)
  @PvwPlayUrl = params['PvwPlayUrl']
  @PvwWebRTCPlayUrl = params['PvwWebRTCPlayUrl']
  @RequestId = params['RequestId']
end