devgeeks / ExampleHTML5AudioStreaming

Example project showing audio streaming using HTML5 Audio with PhoneGap on iOS - https://build.phonegap.com/apps/242993
164 stars 61 forks source link

Phonegap and network change #15

Open TheMikaelT opened 6 years ago

TheMikaelT commented 6 years ago

Using the code to run radio stream on Phonegap app and loving it. Thank you very much. Only problem comes when phone changes from mobile to wifi or vice versa. It just jumps to activityindicator "state" and stays there. Any ideas how to refresh automatically after let's say ten second if not connecting back to the stream?