[Webkit-unassigned] [Bug 177920] Autoplay muted videos still stop playback of other streaming apps in the background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 23 16:12:47 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=177920

--- Comment #3 from Jer Noble <jer.noble at apple.com> ---
The underlying cause seems to be the order in which HTMLMediaElement ivars are constructed. The MediaElementSession is created before m_isPlayingToWirelessTarget is initialized to false (so therefore, is sometimes true), and when it checks whether the element canProduceAudio(), that check will sometimes return true (because m_isPlayingToWirelessTarget is true).

TL,DR: other audio is being interrupted because the PlatformMediaSessionManager thinks the media element is AirPlaying.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171023/c6d86a0f/attachment.html>


More information about the webkit-unassigned mailing list