tencent cloud

Feedback

VideoLiveKit

Last updated: 2024-11-19 14:50:57

    API Introduction

    VideoLiveKit is a live streaming component with a UI interface, using the VideoLiveKit API, you can quickly implement an online live streaming scenario through simple interfaces. If you want to experience and debug interactive live streaming, please refer to Run Demo. If you want to integrate our feature directly into your project, please read Quick Integration (TUILiveKit).

    API Overview

    API
    Description
    Create a VideoLiveKit instance (Singleton Pattern)
    startLive
    Start a live room using roomId.
    joinLive
    Join a live room using roomId.

    API Details

    createInstance

    Obtain a VideoLiveKit instance.
    static VideoLiveKit createInstance(Context context)
    Parameter:
    Parameter
    Type
    Description
    Default Value
    Meaning
    context
    Context
    Mandatory
    -
    Android context object
    Returned value: VideoLiveKit

    startLive

    Start a live room using roomId.
    void startLive(String roomId);
    Parameter:
    Parameter
    Type
    Description
    Default Value
    Meaning
    roomId
    String
    Mandatory
    -
    Live Streaming Room ID
    Return Value: void

    joinLive

    Join a live room using roomId.
    void joinLive(String roomId);
    Parameter:
    Parameter
    Type
    Description
    Default Value
    Meaning
    roomId
    String
    Mandatory
    -
    Live Streaming Room ID
    Return Value: void
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support