Module Node.Media_stream_track_source

Media stream track source nodes.

type opts
val opts : stream:Brr_io.Media.Track.t -> unit -> opts

opts ~stream () are media stream track source node options with given parameters.

type t

The type for MediaStreamTrackAudioSourceNode objects.

val create : context -> opts:opts -> t

create ~opts c creates a media stream track audio source node.

val as_node : t -> node

as_node n is n as an audio node.