discontinuedPackage js_bindings has been discontinued and replaced by typings.

getConstraints method

MediaTrackConstraints getConstraints()

Implementation

MediaTrackConstraints getConstraints() =>
    js_util.callMethod(this, 'getConstraints', []);