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

Anchor Preparation Page

Feature Overview

The anchor preparation page is where the anchor previews the camera, adjusts beauty parameters, and sets camera flipping before starting the live broadcast. This document describes how to complete the access work for the anchor preparation page within 10 minutes.


Feature Integration

Note:
Note: Before completing the feature integration, you must first complete the integration steps in the overview.

Creating an Anchor Preparation Page View and Initializing

Swift
let coreView = LiveCoreView()

let anchorPrepareView = AnchorPrepareView(coreView: coreView)
anchorPrepareView.delegate = self

Load the Preparation Page to ViewController

Swift
public override func loadView() {
view = rootView
}

Listen to the Go Live Button Click Event

swift
extension YourAnchorPrepareViewController : AnchorPrepareViewDelegate {
public func onClickStartButton(state: PrepareState) {
}
public func onClickBackButton() {

}
}

Feature Customization

Hiding Operation Area View

swift
anchorPrepareView.disableFeatureMenu(true)

Hide Operation Area Beauty Effect Feature

swift
anchorPrepareView.disableMenuBeautyButton(true)

Hide Operation Area Sound Effect Feature

swift
anchorPrepareView.disableMenuAudioEffectButton(true)

Hide Operation Area Flip Feature

swift
anchorPrepareView.disableMenuSwitchButton(true)