mdn/content

MediaDevices#getDisplayMedia(): systemAudio is misleading

Open

#25 307 ouverte le 14 mars 2023

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Markdown (22 427 forks)batch import
Content:WebAPIarea: MediaStreamshelp wanted

Métriques du dépôt

Stars
 (8 900 stars)
Métriques de merge PR
 (Merge moyen 7j 3h) (147 PRs mergées en 30 j)

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

Guide contributeur