Enable Live Channel

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

    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 (StartLVBChannel) is used to enter the ID of an LVB channel to start the channel (channels can be started 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=StartLVBChannel&channelIds.1=96171715553394807&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