You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/03 14:34:13 UTC

[GitHub] [cordova-plugin-media] 21pg commented on issue #280: Stream stop playing after 10 min in both Android and IOS

21pg commented on issue #280:
URL: https://github.com/apache/cordova-plugin-media/issues/280#issuecomment-653576293


   For anyone who facing the same issue, here is a work around. This issue can be caused by power saving tools. Since, power saving mode will restrict most background data and will stop syncing Live stream.
   
   I am using a plugin **cordova-plugin-foreground-service** with **cordova-media-plugin** according to this-
   
   _
   
   > An app will have restricted background processing if it is not considered a "foreground app" for android API 26+ and will prevent background pluggins from functioning properly. With this plugin your application will be a foreground app and let your background services run properly.
   
   _
   
   now my stream playing continuously.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org