UIKit API
API Introduction
TUILiveKit is a multi-user live video broadcasting component with a UI interface. By using the TUILiveKit API, you can swiftly set up a video live broadcasting scene through simple interfaces. Currently, the iOS platform supports the Swift language, and you can invoke the live video broadcasting component with simple API calls. For more detailed integration steps, please refer to: Quick Access to TUILiveKit.
API Overview
Broadcaster Stream Playback Controller (TUILiveRoomAnchorViewController)
API | Description |
Initialize the Broadcaster Stream Playback Controller |
init
Initialize the TUILiveRoomAnchorViewController object.
public init(roomId:String)
The parameters' meanings are shown in the table below:
Parameter | Type | Meaning |
roomId | String | Room ID |
Audience Stream Playback Controller (TUILiveRoomAudienceViewController)
API | Description |
Initialize Audience Stream Playback Controller |
init
Initialize TUILiveRoomAudienceViewController object.
public init(roomId:String)
The parameters' meanings are shown in the table below:
Parameter | Type | Meaning |
roomId | String | Room ID |