Home / Docs Center / Device API Reference / webrtcstreamingConfiguration

webrtcstreamingConfiguration

Device API Reference · Encoder WebRTC Playback

Project: Device API Documentation (New) | page_id: 366

Brief Description:

  • A specific version that supports WebRTC is required. Tencent Cloud and the XSTRIVE self-built platform are supported. For other vendors, please contact us for custom development

Request URL:
- /xsw/setWebRtcConf

Request Method:
- POST or GET

Parameters:

Parameter Required Type Description
pushType Yes number Streaming server type, 1 Tencent Cloud TRTC, 3 self-built platform, 4 Tencent Cloud LEB, 101 direct relay platform
appId Yes string Tencent Cloud appId
secretKey Yes string Tencent Cloud secret key
address Yes string Push address
playUrl Optional string Playback address of the corresponding platform

Response Example

  {
    "1": {
        "address": "",
        "playUrl": "",
        "appId": "",
        "secretKey": "",
    },
}

Response Parameter Description

Parameter Required Type Description
appId Yes string Tencent Cloud appId
secretKey Yes string Tencent Cloud secret key
address Yes string Push address
playUrl Optional string Playback address of the corresponding platform
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.