[mediacapture-screen-share] getDisplayMedia could capture system audio alone (#331)

fideltian has just created a new issue for https://github.com/w3c/mediacapture-screen-share:

== getDisplayMedia could capture system audio alone ==
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.


Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/331 using your GitHub account


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

Received on Wednesday, 29 April 2026 08:18:22 UTC