I have an app that broadcasts the screen recording but the connection for websocket and webrtc gets disconnected when I go to background (i go outside my app). The suggestions for adding background capability does not work.
Asked
Active
Viewed 808 times
0
-
have you used VoiP for background service? – Dhaval Raval Nov 20 '19 at 11:57
-
yep did that one too, no success. – FH- Nov 20 '19 at 12:00
-
refer this link hope it works : https://stackoverflow.com/questions/5987495/how-to-maintain-voip-socket-connection-in-background – Dhaval Raval Nov 20 '19 at 12:12
-
possible duplicate https://stackoverflow.com/questions/43853812/prevent-websocket-connection-to-drop-when-entering-background-state-ios-swift – Pramod Shukla Nov 20 '19 at 12:20