tencent cloud

Feedback

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

    Overview

    TUILiveKit is an open-source UI kit for voice chat rooms. Currently, it supports the Swift language on the iOS platform. The live streaming UI can be invoked with a simple API call.

    TUIVoiceRoomViewController

    API
    Description
    Construct Voice Chat Room Controller object

    init(roomId: String, behavior: RoomBehavior, roomParams: RoomParams? = nil)

    Initialize TUIVoiceRoomViewController object.
    
    public init(roomId: String, behavior: RoomBehavior, roomParams: RoomParams? = nil)
    The parameters are described below:
    Parameter
    Type
    Meaning
    roomId
    String
    Voice Chat Room Room ID
    behavior
    Initialize Voice Chat Room Type
    roomParams
    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
    autoCreate
    Directly Create a Voice Chat Room
    prepareCreate
    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