Join Meeting
Add following permissions to Sample App
Since the SDK requests camera and microphone access, make sure to include the required entries for NSCameraUsageDescription and NSMicrophoneUsageDescription in your Info.plist file.
Support Join Meeting feature (for guest user)
- Overrride following view life cycle method to support PiP and pass updated size to resizePIP method of ProconfClient:
override func viewWillTransition(to size: CGSize,
with coordinator: UIViewControllerTransitionCoordinator) {
super.viewWillTransition(to: size, with: coordinator)
ProconfClient.sharedInstance.resizePIP(size: size)
}
- On Sample app authentication after getting token initiate Proconf_iOS_SDK, On success of initSDK API execute following code on main thread to bring-up join meeting UI:
// Step: Join the meeting after successful SDK initialization
DispatchQueue.main.async {
ProconfClient.sharedInstance.joinMeeting(
roomName: <roomName>,
userName: <userName>,
presenterView: self.view
)
}