MediaStream class Models

The MediaStream type gathers information about media streams.

Constructors

MediaStream(String id, MediaStreamType type, List<AudioTrack> audioTracks, List<VideoTrack> videoTracks, String label)

Properties

audioTracks List<AudioTrack>
The audio tracks available in the stream.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
The media stream identifier.
read / write
label String
The media stream label.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type MediaStreamType
The media stream type.
read / write
videoTracks List<VideoTrack>
The video tracks available in the stream.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String?, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited