Which version?
SDK - v4.6.21666.0428
Xcode - 11.5
Swift - 5
Description
Hello, so I managed to use the MobileRTCActiveVideoView for the video chat, however the toolbars disappeared and the audio mute is on. I tried related methods including unmuteAllUserAudio with the meeting service, but with no luck. My code is below the 2 questions.
Question 1: What method do I need to use to unmute the audio when the video view opens?
Question 2: What method shows the hidden toolbars of the video screen?
let sdk: MobileRTC = MobileRTC.shared()
func onInitMeetingView() {
print("========INITMEETINGVIEW========")
print("Initializing the meeting view")
var ms = sdk.getMeetingService()
print("====IS MY AUDIO MUTED?====")
ms?.unmuteAllUserAudio()
ms?.canUnmuteMyAudio()
print(ms?.isMyAudioMuted())
}
func onDestroyMeetingView() {
print("========DESTROYMEETINGVIEW==========")
print("Destroying the meeting view")
}