Home / Docs Center / Platform API / Stop Device Push

Stop Device Push

Platform API · Cloud Live API

Project: Platform API | page_id: 1699

Brief Description:

  • Call this interface when no one is watching to stop the push immediately and reduce traffic consumption

Request URL:
- /product/stopLivePush

Request Method:
- POST

Parameters:

Parameter Name Required Type Description
productId Yes string Device ID
channelId Yes int Channel number, starting from 1

Return Example

{
    "code": 0,
    "msg": "Success"
}

Return Parameter Description

Parameter Name Type Description
code int Failure status code, 0 on success
msg string Failure message, empty on success

Remarks

  • Due to the delay in data statistics, if the push is not stopped actively, the system will stop the push 15-20 minutes after detecting that no one is watching. Please use the interface reasonably
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.