Commit 1463f0e3 authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

[Audio Focus] Enable ducking for flash

Enable ducking for flash based videos.

BUG=931892

Change-Id: I68ee115d6a5938a86ca624b2cfa5295b9d95e43b
Reviewed-on: https://chromium-review.googlesource.com/c/1481588Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#634380}
parent 7b540a28
......@@ -470,9 +470,16 @@ const base::Feature kPreloadMediaEngagementData{
const base::Feature kMediaLearningExperiment{"MediaLearningExperiment",
base::FEATURE_DISABLED_BY_DEFAULT};
// Enables flash to be ducked by audio focus.
const base::Feature kAudioFocusDuckFlash{"AudioFocusDuckFlash",
base::FEATURE_DISABLED_BY_DEFAULT};
// Enables flash to be ducked by audio focus. This is enabled on Chrome OS which
// has audio focus enabled.
const base::Feature kAudioFocusDuckFlash {
"AudioFocusDuckFlash",
#if defined(OS_CHROMEOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};
// Enables the internal Media Session logic without enabling the Media Session
// service.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment