DescriptionListen to the audio focus event for MSE/EME
For MSE/EME, we never listen to the audio focus change.
That will cause the video to continue playing when another app plays sound.
Attach MediaPlayerListener to the MediaSourcePlayer should fix the issue.
BUG=421861
Committed: https://crrev.com/68c2a8660c66d1a4e84eda6e84d0bb62bf3aa272
Cr-Commit-Position: refs/heads/master@{#299819}
Patch Set 1 #
Total comments: 8
Patch Set 2 : nits #Patch Set 3 : rebase #
Messages
Total messages: 15 (5 generated)
|