MeshBackend class

Inheritance

Constructors

MeshBackend({String type = 'mesh'})

Properties

activeSpeaker CallParticipant?
no setteroverride
e2eeEnabled bool
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
isLocalVideoMuted bool
no setteroverride
isMicrophoneMuted bool
no setteroverride
localScreenshareStream WrappedMediaStream?
no setteroverride
localUserMediaStream WrappedMediaStream?
no setteroverride
onGroupCallFeedsChanged → CachedStreamController<GroupCallSession>
final
onStreamAdd → CachedStreamController<WrappedMediaStream>
final
onStreamRemoved → CachedStreamController<WrappedMediaStream>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenShareStreams List<WrappedMediaStream>
no setteroverride
type String
getter/setter pairinherited
userMediaStreams List<WrappedMediaStream>
no setteroverride

Methods

dispose(GroupCallSession groupCall) Future<void>
override
getCurrentFeeds() List<Map<String, String>>?
override
initLocalStream(GroupCallSession groupCall, {WrappedMediaStream? stream}) Future<WrappedMediaStream?>
Initializes the local user media stream. The media stream must be prepared before the group call enters. if you allow the user to configure their camera and such ahead of time, you can pass that stream on to this function. This allows you to configure the camera before joining the call without having to reopen the stream and possibly losing settings.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCallEncryption(GroupCallSession groupCall, String userId, String deviceId, Map<String, dynamic> content) Future<void>
get everything is livekit specific mesh calls shouldn't be affected by these
override
onCallEncryptionKeyRequest(GroupCallSession groupCall, String userId, String deviceId, Map<String, dynamic> content) Future<void>
override
onLeftParticipant(GroupCallSession groupCall, List<CallParticipant> anyLeft) Future<void>
override
onNewParticipant(GroupCallSession groupCall, List<CallParticipant> anyJoined) Future<void>
override
requestEncrytionKey(GroupCallSession groupCall, List<CallParticipant> remoteParticipants) Future<void>
override
setDeviceMuted(GroupCallSession groupCall, bool muted, MediaInputKind kind) Future<void>
override
setScreensharingEnabled(GroupCallSession groupCall, bool enabled, String desktopCapturerSourceId) Future<void>
override
setupP2PCallsWithExistingMembers(GroupCallSession groupCall) Future<void>
override
setupP2PCallWithNewMember(GroupCallSession groupCall, CallParticipant rp, CallMembership mem) Future<void>
override
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
inherited
updateMediaDeviceForCalls() Future<void>
override

Operators

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