Broadcaster Streaming Page
Feature Overview
The Live Stream Publishing Page enables features like audience mic connection, anchor connection, cross-room PK, live room information, audience list, gift display, and bullet screen after the anchor starts streaming. This document describes how to complete the access work within 10 minutes.
Live stream in progress | Anchor in co-anchoring |
![]() |
![]() |
Feature Integration
Note:
Creating Live Stream Publishing Page View and Initializing
var liveInfo = LiveInfo()liveInfo.roomId = roomIdliveInfo.name = state.roomNameliveInfo.coverUrl = state.coverUrlliveInfo.isPublicVisible = state.privacyMode == .publiclet anchorView = AnchorView(liveInfo: liveInfo, coreView: self.coreView, behavior: .createRoom)anchorView.delegate = self
Load the Live Stream Publishing Page Into ViewController
public override func loadView() {view = rootView}
Listening for the Go Live Button Click Event
extension TUILiveRoomAnchorViewController: AnchorViewDelegate {public func onClickFloatWindow() {}public func onEndLiving(state: AnchorState) {}}
Feature Customization
Hide the Operation Section at the Top of the Host Page
anchorView.disableHeaderLiveData(true)
Hide the Audience List Feature in the Top Operation Section
anchorView.disableHeaderVisitorCnt(true)
Hide the Co-Anchoring Function in the Bottom Operation Section
anchorView.disableFooterCoGuest(true)
Hide the Connection Feature in the Bottom Operation Section
anchorView.disableFooterCoHost(true)
Hide the PK Feature in the Bottom Operation Section
anchorView.disableFooterBattle(true)
Hide the Sound Effect Feature in More Settings Panel
anchorView.disableFooterSoundEffect(true)