Android: ExoPlayer - Audio stream playing in one app stops when exoplayer instance is initialised in another app -
there 2 apps using exoplayer. appa , appb
- appa starts streaming audio.
- appb launched initialises exoplayer instance. note: no stream yet played on appb.
- but right away appa stops playing audio.
could understand behaviour new initialisation of exoplayer?
thanks.
probably exoplayer gets garbage collected. should use foreground service, make sure service stays alive as possible without being killed system.
Comments
Post a Comment