Description
after I go to background (open status bar,etc) and back to my app MobileRTCVideoView or MobileRTCActiveShareView pause the video screen but the video sound still available.
note: I use MobileRTC.shared().getMeetingSettings()?.enableCustomMeeting = true on this project
sorry sir, actualy viewWillAppear only response on View Controller before the view are visible (it’s reinit view process), so it won’t called again if I only back focus the app again from background.
So, should I re-configure the parent view again by removing MobileRTCVideoView or MobileRTCActiveShareView from the super view and add it again every time callback applicationDidBecomeActive called (applicationDidBecomeActive is called everytime application become active from background)?
Based on the information you’ve provided it seems that the video is only started when you join the meeting via waiting room. I would recommend using the onMeetingStateChange callback instead, as it is more comprehensive.
The above change probably won’t fix your issue though, unless you’re disconnecting/reconnecting to the meeting when you background the app. Can you try calling showAttendeeVideo in the applicationDidBecomeActive callback?