Change Live Channel

Last updated: 2020-06-07 19:11:08

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new LVB API 3.0 which is standardized and faster.

    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

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help