зеркало из https://github.com/mozilla/gecko-dev.git
6a96b6d384
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 |
||
---|---|---|
.. | ||
crashtests | ||
AudioChannelAgent.cpp | ||
AudioChannelAgent.h | ||
AudioChannelService.cpp | ||
AudioChannelService.h | ||
moz.build | ||
nsIAudioChannelAgent.idl |