UIKit API
API Introduction
TUILiveKit is a multi-person video live streaming component with a UI interface . Using TUILiveKit API, you can quickly implement a video live streaming scenario through simple interfaces. Currently, the Android platform only supports the Java language. You can invoke the video live streaming component through a simple API call. For more detailed integration steps, see: Quick Integration of TUILiveKit.
API Overview
Anchor streaming playback object (TUILiveRoomAnchorFragment)
API | Description |
Initialize the anchor streaming playback object |
TUILiveRoomAnchorFragment
Initialize the TUILiveRoomAnchorFragment object
public TUILiveRoomAnchorFragment(roomId:String)
The parameters' meanings are shown in the table below:
Parameter | Type | Meaning |
roomId | String | Room ID |
Audience streaming playback object (TUILiveRoomAudienceFragment)
API | Description |
Initialize audience side pull stream playback object |
TUILiveRoomAudienceFragment
Initialize TUILiveRoomAudienceFragment object
public TUILiveRoomAudienceFragment(roomId:String)
The parameters' meanings are shown in the table below:
Parameter | Type | Meaning |
roomId | String | Room ID |