We have an application that is built for communication for emergency first responders. Our app streams video from emergency responder mobile devices to other responders, however, when the app moves into the background, or the screen locks, the stream is terminated. Is there a way to allow the stream to persist.
We have an application that is built for communication for emergency first responders. Our app streams video from emergency responder mobile devices to other responders, however, when the app moves into the background, or the screen locks, the stream is terminated. Is there a way to allow the stream to persist.
There are actually several different options here:
-
The "basic" mechanism that keeps media players and video chat apps active in the background is the "audio" background category.
-
Based on your description, this also sounds like it might be considered a voip app, which would also allow it to use CallKit.
-
Finally, you app can also adopt Picture in Picture.
Note that the last two options actually build on the audio background category and that most video chat apps actually use all three.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware