twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
457 stars 177 forks source link

Call disconnecting during call, If user locks the screen #583

Closed musheer-ahamed closed 3 years ago

musheer-ahamed commented 3 years ago

Hi, I am facing a call disconnecting issue during the call, if the user locks the screen. I'm using a call kit even though it's disconnecting. Any suggestions for solving this issue?

piyushtank commented 3 years ago

Just like the native dialer, it's a CallKit behavior that when a user presses the lock screen it triggers provider:performEndCallAction. SDK doesn't disconnect the call by itself. See this example code for more information.