Change Live Channel

Last updated: 2019-11-29 18:44:44

PDF

1. API Description

Domain name: live.api.qcloud.com

This API (ModifyLVBChannel) is used to modify the basic information of LVB channels, including the channel name and description.

2. Input Parameters

Parameter Name Required Type Description
channelId Yes Unsigned integer Channel ID
channelName Yes String LVB channel name
channelDescribe No String LVB channel description

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=ModifyLVBChannel&channelId=96171715553394807&channelName=test-15&channel
Describe=%E7%AC%AC15%E4%B8%AA%E6%B5%8B%E8%AF%95%E9%A2%91%E9%81%93%E7%94%A8%E4%BE%8B&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