gecko-dev/dom/audiochannel
alwu 6a96b6d384 Bug 1578615 - part5 : notify media block when we append agent. r=chunmin
As we would show delay media playback icon for `eNotAudible` and `eMaybeAudible`, we should call `AudioChannelWindow::AudioAudibleChanged()` when we register the agent in order to notify a delaying start.

In the past, as we use `AudioChannelWrapper` to handle delaying, which would call `HTMLMediaElement::AudioChannelWrapper::WindowSuspendChanged()` immediately when we delay autoplay, and finally triggers `AudioChannelWindow::AudioAudibleChanged()` to notify sending block-start event. It's very unclear, so we should set it in the beginning if we have already know the audible state of delayed media.

Differential Revision: https://phabricator.services.mozilla.com/D44748

--HG--
extra : moz-landing-system : lando
2019-09-25 18:12:33 +00:00
..
crashtests
AudioChannelAgent.cpp Bug 1580659 - part7 : make AudioChannelAgent's 'WindowVolumeChanged()' consistent with other 'WindowXXXChanged()'. r=Ehsan 2019-09-24 06:55:35 +00:00
AudioChannelAgent.h Bug 1580659 - part7 : make AudioChannelAgent's 'WindowVolumeChanged()' consistent with other 'WindowXXXChanged()'. r=Ehsan 2019-09-24 06:55:35 +00:00
AudioChannelService.cpp Bug 1578615 - part5 : notify media block when we append agent. r=chunmin 2019-09-25 18:12:33 +00:00
AudioChannelService.h Bug 1578615 - part1 : provide function GetAudibleState() on media element. r=chunmin 2019-09-25 20:07:06 +00:00
moz.build Bug 1544352 - update BUG_COMPONENT for some dom/* and testing/web-platform/* files. r=overholt,jmaher 2019-04-25 09:14:08 +00:00
nsIAudioChannelAgent.idl Bug 1580659 - part6 : remove input config parameter from 'NotifyStartedPlaying()'. r=Ehsan 2019-09-24 21:18:07 +00:00