ParticipantMedia class

Information about a participants media tracks.

Annotations
  • @freezed

Constructors

ParticipantMedia({required ParticipantVideoInfo camera, required ParticipantAudioInfo microphone, required ParticipantVideoInfo screenVideo, required ParticipantAudioInfo screenAudio, @JsonKey(toJson: _customAudioMapToJson, fromJson: _customAudioMapFromJson) required Map<CustomTrackName, ParticipantAudioInfo> customAudio, @JsonKey(toJson: _customVideoMapToJson, fromJson: _customVideoMapFromJson) required Map<CustomTrackName, ParticipantVideoInfo> customVideo})
const
factory
ParticipantMedia.fromJson(Map<String, dynamic> json)
factory

Properties

camera ParticipantVideoInfo
Information about the participant's video device input tracks.
no setterinherited
copyWith → $ParticipantMediaCopyWith<ParticipantMedia>
no setterinherited
customAudio Map<CustomTrackName, ParticipantAudioInfo>
Information about the participant's custom audio tracks.
no setterinherited
customVideo Map<CustomTrackName, ParticipantVideoInfo>
Information about the participant's custom audio tracks.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
microphone ParticipantAudioInfo
Information about the participant's audio device input tracks.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenAudio ParticipantAudioInfo
Information about the participant's screen sharing audio tracks.
no setterinherited
screenVideo ParticipantVideoInfo
Information about the participant's screen sharing video tracks.
no setterinherited

Methods

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

Operators

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