← Back to release summary

audioPreferred capture in getDisplayMedia API

Category
WebRTC
Type
Chromium catches up
Status
Proposed (Chrome Proposed)
Intent stage
None

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.

Standards & signals

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

View on chromestatus.com