mdn/content

MediaDevices#getDisplayMedia(): systemAudio is misleading

Open

#25,307 opened on Mar 14, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Markdown (22,427 forks)batch import
Content:WebAPIarea: MediaStreamshelp wanted

Repository metrics

Stars
 (8,900 stars)
PR merge metrics
 (Avg merge 7d 3h) (147 merged PRs in 30d)

Description

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia

What specific section or headline is this issue about?

systemAudio

What information was incorrect, unhelpful, or incomplete?

systemAudio constraint is misleading. Especially on Chrome or Chromium browsers, where window.speechSynthesisSpeak() called on the same Tab is not captured by navigator.mediaDevices.getDisplayMedia() using any constraints - because audio output as a result of a call to window.speechSynthesis.speak() really is output at the system level, not on the current Tab, or any browser Tab.

What did you expect to see?

A note notifying users that Chrome and Chromium browsers on Linux do not capture system audio.

Do you have any supporting links, references, or citations?

Do you have anything more you want to share?

In spite of the specification using the terminology "systemAudio" Chromium and Chromium browser authors refuse https://bugs.chromium.org/p/chromium/issues/detail?id=931749 to support capture of system audio on Linux. Thus the constraint is misleading for user on Linux using Chrome or Chromium.

MDN metadata

Contributor guide