Returns the complete constraints object associated with the track. If no mandatory constraints have been defined, the mandatory field will not be present (it will be undefined). If no optional constraints have been defined, the optional field will not be present (it will be undefined). If neither optional, nor mandatory constraints have been created, the value null is returned.
Method of apis/media_capture_and_streams/MediaStreamTrackapis/media_capture_and_streams/MediaStreamTrack
Syntaxvar = track.constraints();
Return Value
Returns an object of type MediaTrackConstraintsMediaTrackConstraints
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4