fix: remove pausePlayback when audio focus loss event (#3496)
This commit is contained in:
parent
336eb44dc6
commit
b1ab0f24a3
@ -925,8 +925,6 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
case AudioManager.AUDIOFOCUS_LOSS:
|
||||
view.hasAudioFocus = false;
|
||||
view.eventEmitter.audioFocusChanged(false);
|
||||
// FIXME this pause can cause issue if content doesn't have pause capability (can happen on live channel)
|
||||
view.pausePlayback();
|
||||
view.audioManager.abandonAudioFocus(this);
|
||||
break;
|
||||
case AudioManager.AUDIOFOCUS_LOSS_TRANSIENT:
|
||||
|
Loading…
Reference in New Issue
Block a user