MediaStream class
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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
The media stream identifier.
getter/setter pair
- label ↔ String
-
The media stream label.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ MediaStreamType
-
The media stream type.
getter/setter pair
-
videoTracks
↔ List<
VideoTrack> -
The video tracks available in the stream.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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