Module Media.StreamSource
Media streams.
Media stream constraints.
The type for MediaStream objects.
create () is a stream without tracks.
of_stream s is a new stream which shares its tracks with s.
of_tracks ts is a stream with tracks ts.
as_target s is s as an event target.
id s is a unique identifier for s.
active s is true if s is active.
get_audio_tracks s is the list of audio tracks of s.
get_video_tracks s is the list of video tracks of s.
get_tracks s is the list of tracks of s.
get_track_by_id s id finds the track identified by id (if any).
add_track s t adds track t so s. If t was already in s nothing happens.
remove_track s t removes track t from s. If t was not in s nothing happens.
clone s clones the tracks of s and s itself. It has the same parameters except for id.