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

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -