Chrome Flags Reference

Chrome command line switches and startup flags for automation, headless mode, and debugging.

--audio-codecs-from-edid

What does --audio-codecs-from-edid do?

Audio codecs supported by the HDMI sink is retrieved from the audio service process. EDID contains the Short Audio Descriptors, which list the audio decoders supported, and the information is presented as a bitmask of supported audio codecs.

Usage

CLILaunch Chrome with --audio-codecs-from-edid using CLI

chrome --audio-codecs-from-edid

PuppeteerLaunch Chrome with --audio-codecs-from-edid using Puppeteer

const browser = await puppeteer.launch({
  args: ['--audio-codecs-from-edid']
});

PlaywrightLaunch Chrome with --audio-codecs-from-edid using Playwright

const browser = await chromium.launch({
  args: ['--audio-codecs-from-edid']
});

SeleniumLaunch Chrome with --audio-codecs-from-edid using Selenium

from selenium import webdriver

options = webdriver.ChromeOptions()
options.add_argument('--audio-codecs-from-edid')

driver = webdriver.Chrome(options=options)

Build Conditions

ENABLE_PASSTHROUGH_AUDIO_CODECS