Disable Live Channel

Last updated: 2019-11-29 18:46:52

PDF

1. API Description

Domain name: live.api.qcloud.com

This API (StopLVBChannel) is used to enter the ID of an LVB channel to stop the channel (channels can be stopped in batch).

2. Input Parameters

Parameter Name Required Type Description
channelIds Yes Array Channel ID value, batch operation supported. See examples for how to use

3. Output Parameters

Parameter Name Type Description
code Int Error code. 0: Successful; other values: Failed
message String Error message

4. Example

Input 1

https://domain/v2/index.php?Action=StopLVBChannel&channelIds.1=96171715553394810&Common request parameters

Output 1

{
    "code" : 0,
    "message" : "",
}

5. Standard Parameter Definitions

Channel status definitions:

Value Status
0 No input stream
1 LVB in progress
2 Exception
3 Disable

Receiver type definitions:

Type Description
1 RTMP output
2 HLS output
3 RTMP and HLS output
LVB stream protocol definitions:
Type Description
1 RTMP push
2 RTMP pull
3 HLS pull