androidaudio-streamingexoplayershared-resource

Android: ExoPlayer - Audio stream playing in one app stops when exoplayer instance is initialised in another app


There are two apps using Exoplayer. AppA and AppB

Could someone help understand this behaviour with the new initialisation of the exoplayer?

Thanks.


Solution

  • The issue was that we were requesting for audio focus after initialisation instead of when the user requested a play event. Basic mistake I suppose.

    No issue in terms of the ExoPlayer.