ParticipantSFU class

Available extensions

Constructors

ParticipantSFU({required String ownerId, bool isVideoEnabled = true, bool isAudioEnabled = true, bool isSharingScreen = false, bool isE2eeEnabled = false, bool isSpeakerPhoneEnabled = true, CameraType cameraType = CameraType.front, AudioLevel audioLevel = AudioLevel.kSilence, required RTCPeerConnection peerConnection, required dynamic onFirstFrameRendered()?, required WebRTCCodec videoCodec, WebRTCVideoStats? stats, WebRTCAudioStats? audioStats, bool isMe = false, MediaSource? cameraSource, MediaSource? screenSource})

Properties

audioLevel AudioLevel
getter/setter pair
cameraSource MediaSource?
getter/setter pair
cameraType CameraType
getter/setter pair
hashCode int
The hash code for this object.
no setter
isAudioEnabled bool
getter/setter pair
isE2eeEnabled bool
getter/setter pair
isSharingScreen bool
getter/setter pair
isSpeakerPhoneEnabled bool
getter/setter pair
isVideoEnabled bool
getter/setter pair
onFirstFrameRendered → dynamic Function()?
final
ownerId String
final
peerConnection RTCPeerConnection
getter/setter pair
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSource MediaSource?
getter/setter pair
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
videoCodec WebRTCCodec
final

Methods

copyWith({String? ownerId, bool? isVideoEnabled, bool? isAudioEnabled, bool? isE2eeEnabled, bool? isSpeakerPhoneEnabled, bool? isSharingScreen, CameraType? cameraType, AudioLevel? audioLevel, RTCPeerConnection? peerConnection, WebRTCCodec? videoCodec, dynamic onFirstFrameRendered()?, MediaSource? cameraSource, MediaSource? screenSource}) ParticipantSFU
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.

Operators

operator ==(covariant ParticipantSFU other) bool
The equality operator.