v136 · audio

Screen Share Coordinator

A simulated screen-share/recording app that handles the Chrome 136 interrupted AudioContext state. When the OS interrupts audio focus (phone call, notification), the app stops recording, saves progress, shows an "interrupted by system" banner, and resumes cleanly when focus returns — distinguishing system interruption from user pause.

checking AudioContext… checking interrupted state…
Chrome 136 adds AudioContextState.interrupted. Without this state, apps had no way to distinguish "user paused" from "OS took audio focus away". With it, you can show the right UI ("paused by system" vs "you paused") and auto-resume only when it's safe to do so.

Screen share app simulation

ScreenShare Pro closed auto-resume: on
⚠ Audio interrupted by system — recording paused
State
Frames saved
0
Duration
0.0s
Simulate OS events:

Interrupt handler pattern

// Chrome 136: handle the new 'interrupted' state const ctx = new AudioContext(); ctx.addEventListener('statechange', () => { switch (ctx.state) { case 'running': // Normal operation — recording active resumeRecording(); hideInterruptBanner(); break; case 'interrupted': // OS took audio focus (phone call, notification, system alert) // Different from 'suspended' which is user/tab-triggered pauseRecording({ reason: 'system-interrupt' }); showBanner('Audio interrupted by system — recording paused'); // DO auto-resume when state goes back to 'running' break; case 'suspended': // User or browser suspended — do NOT auto-resume pauseRecording({ reason: 'user-suspended' }); break; case 'closed': stopRecording(); break; } });

see also