зеркало из https://github.com/mozilla/gecko-dev.git
5b20dd1672
We use `NotifyMediaStarted()` and `NotifyMediaStopped()` to notify `MediaControlService` on parent process to start/stop a media controller, and use `NotifyMediaAudibleChanged()` to notify controller's audible state in order to request audio focus. As our goal is to use media controller to control media element, not for web audio, web speech and other stuffs which also use audio channel agent. Therefore, we should notify parent process to start/stop controller only for media element, instead of sending a notification in AudioChannelService because that would create media controller for all different consumers which uses audio channel agent. Differential Revision: https://phabricator.services.mozilla.com/D45591 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
crashtests | ||
AudioChannelAgent.cpp | ||
AudioChannelAgent.h | ||
AudioChannelService.cpp | ||
AudioChannelService.h | ||
moz.build | ||
nsIAudioChannelAgent.idl |