applyConstraintsAsync
fun applyConstraintsAsync(constraints: MediaTrackConstraints = definedExternally): Promise<Void>(source)
The applyConstraints()
method of the MediaStreamTrack interface applies a set of constraints to the track; these constraints let the website or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancellation, and so forth.