opentok / opentok-ios-sdk-samples-swift

Sample applications using the OpenTok iOS SDK in Swift
https://tokbox.com/
MIT License
137 stars 65 forks source link

Lost connection with microphone when user interrupt by a phone call. #167

Closed tanle-accolade closed 1 year ago

tanle-accolade commented 2 years ago

During the video, when user have incoming call: user reject or accept the call then hang up -> user lost microphone and lost audio stream from session (video stream still going on). After this issue happen, user close screen (assume OTSession & OTPublisher released) but video stream still continue, profile with instrument and still saw webrtc still running and block UIThread. Tested on SDK version : OpenTok (2.21.2) iOS version 15.1 iOS Device: iPhone 11 Pro