Closed Bug 1152381 Opened 11 years ago Closed 10 years ago

Implement mediaDevices.getSupportedConstraints()

Categories

(Core :: WebRTC: Audio/Video, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox40 --- affected
firefox42 --- fixed

People

(Reporter: jib, Assigned: jib)

References

()

Details

(Keywords: dev-doc-needed)

Attachments

(2 files)

No description provided.
backlog: --- → webRTC+
Rank: 31
Priority: -- → P3
Bug 1152381 - implement mediaDevices.getSupportedConstraints.
Attachment #8628985 - Flags: review?(rjesup)
Attachment #8628985 - Flags: review?(bugs)
Assignee: nobody → jib
Q2 stretch goal. Hopefully trivial.
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup https://reviewboard.mozilla.org/r/12495/#review10969 If the ID needs revving, do that ::: dom/media/MediaDevices.h:23 (Diff revision 1) > { 0x9a, 0x36, 0x74, 0xa4, 0xd6, 0x71, 0xa6, 0xc8 } } Do we need to rev this id?
Attachment #8628985 - Flags: review?(rjesup) → review+
https://reviewboard.mozilla.org/r/12495/#review10969 > Do we need to rev this id? I'm pretty sure that's only needed by XPCOM not WebIDL. Smaug?
Flags: needinfo?(bugs)
The reason for doing this ASAP is that the deviceId constraint (Bug 1037389) is tricky to use if you don't know whether the browser supports it or not (e.g. you end up bugging the user about a microphone and/or camera you didn't want, or you have to browser-sniff).
Priority: P3 → P1
Webidl doesn't have uuid.
Flags: needinfo?(bugs)
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup C++ code should use mozilla coding style, if possible. So, aFoo for argument names? At least add a comment what are the mozilla specific stuff. And if possible, add all the properties from the spec to the dictionary, but if they aren't supported, just don't have default value for them.
Attachment #8628985 - Flags: review?(bugs) → review-
Attachment #8628985 - Flags: review?(rjesup)
Attachment #8628985 - Flags: review?(bugs)
Attachment #8628985 - Flags: review-
Attachment #8628985 - Flags: review+
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup Bug 1152381 - implement mediaDevices.getSupportedConstraints.
https://reviewboard.mozilla.org/r/12495/#review10969 > I'm pretty sure that's only needed by XPCOM not WebIDL. Smaug? Smaug and bz says it's only for c++ users, of which there are none for MediaDevices.
Put up new webidl version based on feedback from smaug.
Attachment #8628985 - Flags: review?(rjesup) → review+
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup https://reviewboard.mozilla.org/r/12495/#review11021 Ship It!
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup I see now that the question was about MediaDevices. So if you had added some new virtual methods there or something, the you should have updated the IID.
Attachment #8628985 - Flags: review?(bugs) → review+
Attachment #8628985 - Attachment description: MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. → MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup
Attachment #8628985 - Flags: review?(rjesup)
Attachment #8628985 - Flags: review?(bugs)
Attachment #8628985 - Flags: review+
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup
Comment on attachment 8628985 [details] MozReview Request: Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup https://reviewboard.mozilla.org/r/12495/#review11025 Ship It!
Attachment #8628985 - Flags: review+
Attachment #8628985 - Flags: review?(bugs)
Attachment #8628985 - Flags: review?(rjesup) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Depends on: 1191296
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: