Akshada-Systematix
Akshada-Systematix

Reputation: 321

Tokbox iOS: Video call disconnects when phone lock

I am using tokbox for video calling in my iOS application. I am getting the issue when while video calling, when I lock the app, the stream gets disconnected and the call ends.

Upvotes: 0

Views: 439

Answers (1)

Nathan Van Dyken
Nathan Van Dyken

Reputation: 352

This documentation outlines running TokBox in the background, i.e. when the phone is locked. The following is an excerpt from the limitations of running TokBox in the background:

Apps cannot do the following while in the background state:

  • Use the camera as a video source for a publisher.

The documentation goes on to explain that you can keep an audio-only session active when running in the background, but not a video session.

Upvotes: 1

Related Questions