Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Html Audio stops playing after app is minimized for some time on Android

$
0
0

We have an app heavily focused on streaming audio files using the HTML
audio tag player. In some Android devices the stream will stop after about 3 minutes after the user has minimized/backgrounded the app. Then they will have to foreground the app again and pause-play the track to continue. Sometimes it loses the stream completely when you foreground the app

ionic info:
Ionic:

Ionic CLI : 6.17.1 (/home/nikosx/.npm-global/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 5.6.9

Capacitor:

Capacitor CLI : 3.3.3
@capacitor/android : 3.3.3
@capacitor/core : 3.3.3
@capacitor/ios : 3.3.3

Utility:

cordova-res (update available: 0.15.4) : 0.15.3
native-run : 1.5.0

System:

NodeJS : v14.18.1 (/usr/bin/node)
npm : 6.14.15
OS : Linux 5.13

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>