このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

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