libGPUSupportMercury.dylib`gpus_ReturnNotPermittedKillClient:
crashes when app is in background
implemented these methods in the notification
@objc func controllerwillEnterForeground() {
self.joinMeeting()
}
@objc func willResignActive() {
MobileRTC.shared().getMeetingService().delegate = nil
}
@objc func controllerDidGoesBackground() {
glFinish()
}
func joinMeeting() {
guard let meetingService = MobileRTC.shared().getMeetingService() else { return }
meetingService.delegate = self
let paramDict: [String : Any] = [
kMeetingParam_Username : "Test",
kMeetingParam_MeetingNumber : "*******"
]
let returnValue = meetingService.joinMeeting(with: paramDict)
guard returnValue == MobileRTCMeetError_Success else {
print("Zoom: Join meeting task failed, error code: \(returnValue.rawValue)")
return
}
print("Zoom: Join meeting task completed. \(returnValue.rawValue)")
}