Closed Bug 1517681 Opened 9 months ago Closed 8 months ago

Fix wpt MediaStream-default-feature-policy.https.html to comply with getUserMedia spec

Categories

(Core :: WebRTC: Audio/Video, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: jib, Assigned: jib)

Details

Attachments

(1 file)

The current wpt test asssumes feature policy can be used to cherry-pick gUM tracks, when spec [1] says
getUserMedia({video: true, audio:true}) guarantees a stream with 2 tracks.

[1] "The provided media MUST include precisely one track of each media type in requestedMediaTypes" -
    https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia
Pushed by jbruaroey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/16709683a80e
Fix MediaStream-default-feature-policy.https.html to respect getUserMedia result guarantees. r=baku
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14925 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.