Skip to content

Commit

Permalink
fix: remove pausePlayback when audio focus loss event (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun authored Jan 23, 2024
1 parent 336eb44 commit b1ab0f2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -925,8 +925,6 @@ public void onAudioFocusChange(int focusChange) {
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:
Expand Down

0 comments on commit b1ab0f2

Please sign in to comment.