tencent cloud

Feedback

Last updated: 2024-05-17 11:20:41

    Overview

    TUILiveKit is a UI open-source kit for voice chat rooms. Currently, the Android platform only supports the Java language. The live streaming UI can be invoked with a simple API call.

    TUIVoiceRoomFragment Class

    API
    Description
    Construct Voice Chat Room Main Interface objects

    TUIVoiceRoomFragment

    Construct Direct Interface objects
    public TUIVoiceRoomFragment(String roomId, LiveDefine.RoomBehavior behavior, LiveDefine.RoomParams params)
    The parameters are described below:
    Parameter
    Type
    Meaning
    roomId
    String
    Voice Chat Room Room ID
    behavior
    Initialize Voice Chat Room Type
    params
    The necessary parameters for creating a voice chat room, and the parameters for joining a room (with behavior as JOIN) can be empty.

    RoomBehavior

    Voice Chat Room Type
    Type
    Description
    AUTO_CREATE
    Directly Create a Voice Chat Room
    PREPARE_CREATE
    Preview Page to Create a Voice Chat Room
    JOIN
    Join a Voice Chat Room

    RoomParams

    Voice Chat Room Parameters
    Type
    Description
    maxSeatCount
    Maximum Number of Microphones,the default value is the maximum number of seat supported by the package
    seatMode
    Take the Mic: Free to Join the Podium, Apply to Join the Podium (Default Application to Join the Podium)
    
    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