Open Bug 1670405 Opened 4 years ago Updated 4 years ago

Implement capture of system (officially) and application audio output to headphones and speakers

Categories

(Core :: Widget: Gtk, enhancement)

Firefox 81
enhancement

Tracking

()

People

(Reporter: guest271314, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4288.0 Safari/537.36

Steps to reproduce:

Technically it is currently possible to capture system audio output to headphones and speakers at getUserMedia({audio: true}) at Linux (monitor devices listed by PulseAudio) though said capability is not officially specified in getUserMedia() specification.

It is currently not possible to select a specific output device to capture, for example, the output of speech-dispatcher-espeak-ng when window.speechSynthesisSpeak() is called, or to capture an application, for example, playback of an audio file where the codec is not supported by the browser at mpv, ffmpeg or other native application; in order to differentiate system audio capture from specific application audio capture.

Actual results:

Not possible to capture specific application audio output at getUserMedia() or getDisplayMedia().

Expected results:

Capability to capture system (officially) and application audio output to headphones and speakers.

Chromium bug (FUGU) https://bugs.chromium.org/p/chromium/issues/detail?id=1136480

Setting a component for this issue in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.

Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Gtk
Ever confirmed: true
Product: Firefox → Core

#1 Component is probably MediaStream, getUserMedia, WebRTC development, or equivalent formal component title.

WebRTC: Audio/Video is probably the appropriate component to file this under.

What's use-case for this feature?

Flags: needinfo?(guest271314)
  • Capturing audio output to headphones and speakers in general
  • Capturing speech synthesis output
  • Screen reader capture
  • Assistive technologies
  • et al.

The same use cases as getUserMedia, getDisplayMedia, without arbitrary implementation restrictions.

Flags: needinfo?(guest271314)
You need to log in before you can comment on or make changes to this bug.