Intent to Ship: audioPreferred capture in getDisplayMedia API

46 views
Skip to first unread message

Chromestatus

unread,
8:29 AM (5 hours ago) 8:29 AM
to blin...@chromium.org, agp...@google.com, gui...@google.com
Contact emails
agp...@google.com, gui...@google.com

Explainer
https://github.com/palak8669/mediacapture-screen-share-audio-capture/blob/palak8669-patch-1/audio_selection_explainer.md

Specification
https://w3c.github.io/mediacapture-screen-share/#dom-displaymediastreamoptions-audioselection

Summary
Adds an audioPreference attribute to the DisplayMediaStreamOptions dictionary used in the getDisplayMedia API. This hint allows web applications to signal to the UA that they prefer audio sharing along with video. This helps developers ensure that applications relying on audio capture work seamlessly.

Blink component
Blink>GetDisplayMedia

Web Feature ID
usermedia

Motivation
No information provided

Initial public proposal
No information provided

TAG review
No information provided

TAG review status
Not applicable

Goals for experimentation
None

Risks


Interoperability and Compatibility
No information provided

Gecko: No signal (https://github.com/mozilla/standards-positions/issues/1433) Spec PR was approved by Mozilla https://github.com/w3c/mediacapture-screen-share/pull/332

WebKit: No signal (https://github.com/WebKit/standards-positions/issues/696) Spec PR was approved by WebKit https://github.com/w3c/mediacapture-screen-share/pull/332

Web developers: Positive (https://github.com/w3c/mediacapture-screen-share-extensions/issues/12) Ask for an API to support the targeted use case from developers: https://github.com/w3c/mediacapture-screen-share-extensions/issues/12

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

No information provided


Debuggability
No information provided

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
No
getDisplayMedia API is not supported on Mobile platforms.

Is this feature fully tested by web-platform-tests?
Yes
WPT: https://wpt.fyi/results/screen-capture/getdisplaymedia.https.html other tests: chrome/browser/ui/views/desktop_capture/desktop_media_pane_view_unittest.cc, chrome/browser/ui/views/desktop_capture/desktop_media_picker_views_unittest.cc

Flag name on about://flags
No information provided

Finch feature name
GetDisplayMediaAudioSelection

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/issues/535514300

Launch bug
https://launch.corp.google.com/launch/4483832

Estimated milestones
Shipping on desktop152
DevTrial on desktop152


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

No information provided

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5085785343787008?gate=6159500559122432

This intent message was generated by Chrome Platform Status.

Alex Russell

unread,
11:27 AM (2 hours ago) 11:27 AM
to blink-dev, Chromestatus, agp...@google.com, gui...@google.com
LGTM1

Chris Harrelson

unread,
11:27 AM (2 hours ago) 11:27 AM
to Alex Russell, blink-dev, Chromestatus, agp...@google.com, gui...@google.com
LGTM2

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f965d7d7-3602-450c-a8cc-35f97913f7fen%40chromium.org.

Vladimir Levin

unread,
11:28 AM (2 hours ago) 11:28 AM
to blink-dev, Chris Harrelson, blink-dev, Chromestatus, agp...@google.com, gui...@google.com, Alex Russell
LGTM3

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Reply all
Reply to author
Forward
0 new messages