brr
Stream.Constraints
Media stream constraints.
brr.ocaml_poke
brr.ocaml_poke_ui
brr.poke
brr.poked
type t
The type for MediaStreamConstraints objects.
MediaStreamConstraints
type track = [
| `No
| `Yes of Constraints.t option
]
The type for specifying track constraints.
val v : ?audio:track -> ?video:track -> unit -> t
v ~audio ~video () are stream constraints with given arguments. If unspecified they default to `No.
v ~audio ~video ()
`No
val av : unit -> t
av says `Yes None to audio and video.
av
`Yes None