이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

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
init
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
init
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