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

인터페이스 문서

API Introduction

VideoLiveKit is a live streaming component with a UI interface, using the VideoLiveKit API, you can quickly implement an online live streaming scenario through simple interfaces. If you want to experience and debug interactive live streaming, please refer to Run Demo. If you want to integrate our feature directly into your project, please read Quick Integration (TUILiveKit).
Note:
If you have your own UI design and want to develop with LiveKit business, we also provide the more flexible and comprehensive RTC Room Engine SDK. You can learn more about its features by checking our RTC Room Engine SDK API documentation.

API Overview

API
Description
Create a VideoLiveKit instance (Singleton Pattern)
startLive
Start a live room using roomId.
joinLive
Join a live room using roomId.

API Details

createInstance

Obtain a VideoLiveKit instance.
static func createInstance() -> VideoLiveKit
Returned value: VideoLiveKit

startLive

Start a live room using roomId.
func startLive(roomId: String)
Parameter:
Parameter
Type
Description
Meaning
roomId
String
Mandatory
Live Streaming Room ID
Return Value: void

joinLive

Join a live room using roomId.
func joinLive(roomId: String)
Parameter:
Parameter
Type
Description
Meaning
roomId
String
Mandatory
Live Streaming Room ID
Return Value: void