Overview

View as Markdown

Enable the custom meeting UI

To use your custom meeting UI, enable it before you start or join a meeting.

let context = MobileRTCSDKInitContext()

context.enableCustomizeMeetingUI = true

Once the custom meeting UI feature is enabled, then starting or joining a meeting is the same.

Create a custom meeting UI

Assign customized UI meeting delegate

To implement a custom meeting UI, first assign MobileRTCCustomizedUIMeetingDelegate to your View Controller. Then, implement the two callback methods onInitMeetingView and onDestroyMeetingView for navigating to your customize meeting view based on initialization and destroy status.

extension ViewController: MobileRTCCustomizedUIMeetingDelegate {
    func onInitMeetingView() {
        // onInitMeetingView, push to your customize view.
    }

    func onDestroyMeetingView() {
        // onDestroyMeetingView, navigate to your previous view or push to another view.
    }
}

guard
    let service = MobileRTC.shared().getMeetingService(),
else {}

service.customizedUImeetingDelegate = self