please select
Live
  • Overview
  • Android
    • Run Sample Demo
    • Integration
    • API Documentation
    • Interactive Barrage
    • Interactive Gift
    • Release Notes
    • FAQs
  • iOS
    • Run Sample Demo
    • Integration
    • API Documentation
    • Interactive Barrage
    • Interactive Gift
    • Release Notes
    • FAQs
  • Overview
    • Overview
  • Activate the Service
  • Pricing
    • Free Minutes
    • Live Monthly Packages
    • Billing Explanation for Subscription Package Duration
    • Pay-as-you-go
      • Billing of Audio and Video Duration
      • Billing of On-Cloud Recording and Recording Delivery
      • Billing of MixTranscoding and Relay to CDN
  • ErrorCode
Live

API Documentation

Introduction

TUILiveKit is an open source UI suite for multi-person video broadcast layer. At present, the iOS platform supports Swift language, and the live broadcast UI can be aroused through simple API calls.

TUILiveRoomAnchorViewController

API
describe
init
constructing an anchor object for live broadcasting

init

Initialize TUILiveRoomAnchorViewController object.
public init(roomId:String)

TUILiveRoomAudienceViewController

API
describe
init
building a viewer pull-stream object

init

Initialize TUILiveRoomAudienceViewController object.
public init(roomId:String)