Re: [mediacapture-screen-share-extensions] Capturing audio-only (#12)

UP for the issue!!!!!!

Currently, getDisplayMedia lacks the capability to capture system audio independently. We have several specific use cases:

1) We want to capture both system audio and microphone audio, then send them to AI ASR for do transcription and create enhanced note-taking applications.
2) We have an advanced sharing feature where we'd like to share only audio to a conference - specifically system audio from a browser or another application.
It's frustrating that you must capture video first and then stop it. It seems odd that system audio cannot be captured alone.
const stream = await navigator.mediaDevices.getDisplayMedia({
video: true,
audio: {
echoCancellation: false,
noiseSuppression: false,
sampleRate: 48000
}
});

const videoTrack = stream.getVideoTracks()[0];
if (videoTrack) videoTrack.stop();
const audioTrack = stream.getAudioTracks()[0];

The proposal is to allow "video:false, audio:true" case.

-- 
GitHub Notification of comment by fideltian
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share-extensions/issues/12#issuecomment-4449563056 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 May 2026 09:44:31 UTC