Bug 1582802 - part1 : enable new audio focus management on Android Nightly. r=sebastian

In bug 1565689, we have implemented new an audio focus management, which allows us to address audio competition even if those audio happens on different processes.

We can try to enable this new mechanism on Android Nightly first, where we have enabled managing audio competition by default.

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
alwu 2019-09-26 23:55:01 +00:00
Родитель f4e7a3ed9c
Коммит 6157b4eccc
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -786,7 +786,13 @@ pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com
// Token server used by Firefox Account-authenticated Sync.
pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
#ifdef NIGHTLY_BUILD
// Use new audio focus management, "media.audioFocus.management".
pref("dom.audiochannel.audioCompeting", false);
#else
pref("dom.audiochannel.audioCompeting", true);
#endif
pref("dom.audiochannel.mediaControl", true);
// Space separated list of URLS that are allowed to send objects (instead of

Просмотреть файл

@ -6190,7 +6190,11 @@
- name: media.audioFocus.management
type: bool
#if defined(MOZ_WIDGET_ANDROID) && defined(NIGHTLY_BUILD)
value: true
#else
value: false
#endif
mirror: always
- name: media.hardwaremediakeys.enabled