API | Description |
Obtain a VoiceRoomKit object instance. | |
Create a voice chat room live streaming room. | |
Enter a voice chat room live streaming room using roomId. |
static func createInstance() -> VoiceRoomKit
func createRoom(roomId: String, params: CreateRoomParams)
Parameter | Type | Note | Default value | Meaning |
roomId | String | Mandatory | - | Live Streaming Room ID |
params | Mandatory | - | Create Live Room Parameters |
func enterRoom(roomId: String)
Parameter | Type | Note | Default value | Meaning |
roomId | String | Mandatory | - | Live Streaming Room ID |
Parameter | Type | Note | Default value | Meaning |
roomName | String | | "" | Voice chat room name |
maxAnchorCount | Int | | 10 | Maximum number of users on stage |
seatMode | Mandatory | | Mic On Mode is divided into the following two types: TUISeatModeFreeToTake: Free to Join the Podium mode, where the audience can join the mic freely without applying. TUISeatModeApplyToTake: Apply to Join the Mic mode, where the audience needs the host's or administrator's approval to join the mic. |
Was this page helpful?