Liking cljdoc? Tell your friends :D

web.rtc.ConstrainDouble

The ConstrainDouble type is used to specify a constraint for property whose value is a double-precision floating-point number. extends the web.streams.DoubleRange dictionary (which provides ability to specify a permitted range of property values) to also an exact value and/or an ideal value the property should take Additionally, you can specify the property's value as a simple value, in which case the user agent does its best to match the once all other more stringent constraints are met.

The ConstrainDouble type is used to specify a constraint for
property whose value is a double-precision floating-point number.
extends the `web.streams.DoubleRange` dictionary (which provides
ability to specify a permitted range of property values) to also
an exact value and/or an ideal value the property should take
Additionally, you can specify the property's value as a simple
value, in which case the user agent does its best to match the
once all other more stringent constraints are met.
raw docstring

exactcljs

(exact this)

Property.

A double-precision floating-point number specifying a specific, value the property must have to be considered acceptable.

Property.

A double-precision floating-point number specifying a specific,
value the property must have to be considered acceptable.
sourceraw docstring

idealcljs

(ideal this)

Property.

A double-precision floating-point number specifying a value the would ideally have, but which can be considered optional if necessary find a match.

Property.

A double-precision floating-point number specifying a value the
would ideally have, but which can be considered optional if necessary
find a match.
sourceraw docstring

set-exact!cljs

(set-exact! this val)

Property.

A double-precision floating-point number specifying a specific, value the property must have to be considered acceptable.

Property.

A double-precision floating-point number specifying a specific,
value the property must have to be considered acceptable.
sourceraw docstring

set-ideal!cljs

(set-ideal! this val)

Property.

A double-precision floating-point number specifying a value the would ideally have, but which can be considered optional if necessary find a match.

Property.

A double-precision floating-point number specifying a value the
would ideally have, but which can be considered optional if necessary
find a match.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close