This reverts commit b1ab0f24a3
.
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
This commit is contained in:
parent
2094dbdce6
commit
aec7db6390
@ -931,6 +931,8 @@ 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