--enable-exclusive-audio
What does --enable-exclusive-audio do?
Use exclusive mode audio streaming for Windows Vista and higher. Leads to lower latencies for audio streams which uses the AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844.aspx for details.
Usage
CLILaunch Chrome with --enable-exclusive-audio using CLI
chrome --enable-exclusive-audioPuppeteerLaunch Chrome with --enable-exclusive-audio using Puppeteer
const browser = await puppeteer.launch({
args: ['--enable-exclusive-audio']
});PlaywrightLaunch Chrome with --enable-exclusive-audio using Playwright
const browser = await chromium.launch({
args: ['--enable-exclusive-audio']
});SeleniumLaunch Chrome with --enable-exclusive-audio using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--enable-exclusive-audio')
driver = webdriver.Chrome(options=options)Build Conditions
ENABLE_PASSTHROUGH_AUDIO_CODECSCHROMEOSFUCHSIALINUX || IS_CHROMEOS || BUILDFLAG(IS_FREEBSD) || \WIN