Skip to main content

Audio context modev4.0.549

Controls the shared AudioContext during Studio preview. The default, suspend-when-idle, suspends the context while playback is paused or buffering. keep-alive keeps the context running and silences its output so playback can resume without waiting for the audio context to restart.

CLI flag​

--audio-context-mode <value>

The following CLI commands accept this option:

Config file​

remotion.config.ts
Config.setAudioContextMode('keep-alive');

See also​