Skip to content

windowAudio for getDisplayMedia #1110

Open
@drkron

Description

@drkron

こんにちは TAG-さん!

I'm requesting a TAG review of windowAudio option for getDisplayMedia().

The windowAudio option extends the getDisplayMedia() API, allowing Web applications to provide a hint to the user agent regarding the preferred audio source. When getDisplayMedia() is called, the user agent allows the user to choose a tab, window or screen - and optionally a corresponding audio source.

  • For tabs the corresponding audio source is that tab’s audio.
  • For screens the corresponding audio source is system audio.

This new option affects the audio source associated with windows. In that case, the hint allows the Web application to indicate whether the UA should offer as the corresponding audio source the window’s audio, the system’s audio, or no audio at all. (The rationale for this is elaborated in the explainer, which is linked below.)

Further details:

You should also know that...

We believe this fills a crucial gap in the existing API by offering a hint for window-specific audio behavior, mirroring the existing SystemAudioPreferenceEnum for monitor captures.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions