MediaTrackCapabilities properties are string[]/boolean[]/DoubleRange/ULongRange, not ConstrainDOMString/ConstrainBoolean/ConstrainDouble/ConstrainULong #38249
Labels
area: MediaStreams
Content:WebAPI
Web API docs
help wanted
If you know something about this topic, we would love your help!
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getCapabilities
What specific section or headline is this issue about?
https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getCapabilities#return_value
What information was incorrect, unhelpful, or incomplete?
getCapabilities()
returns aMediaTrackCapabilities
, but the elements seem to be describing aMediaTrackConstraintSet
, with all property types being ConstrainDOMString/ConstrainBoolean/ConstrainDouble/ConstrainULong.What did you expect to see?
I expected the types of the
MediaTrackCapabilities
properties to be string[]/boolean[]/DoubleRange/ULongRange.Do you have any supporting links, references, or citations?
https://www.w3.org/TR/mediacapture-streams/#media-track-capabilities
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/api/mediastreamtrack/getcapabilities
The text was updated successfully, but these errors were encountered: