LiveKitBackend class

Inheritance

Constructors

LiveKitBackend({required String livekitServiceUrl, required String livekitAlias, String type = 'livekit', bool e2eeEnabled = true})

Properties

activeSpeaker CallParticipant?
no setteroverride
currentLocalKeyIndex int
the key currently being used by the local cryptor, can possibly not be the latest key, check latestLocalKeyIndex for latest key
no setter
e2eeEnabled bool
final
hashCode int
The hash code for this object.
no setteroverride
isLocalVideoMuted bool
these are unimplemented on purpose so that you know you have used the wrong method
no setteroverride
isMicrophoneMuted bool
no setteroverride
latestLocalKeyIndex int
used to send the key again incase someone onCallEncryptionKeyRequest but don't just send the last one because you also cycle back in your window which means you could potentially end up sharing a past key
no setter
livekitAlias String
final
livekitServiceUrl String
final
localScreenshareStream WrappedMediaStream?
no setteroverride
localUserMediaStream WrappedMediaStream?
no setteroverride
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?>
get everything else from your livekit sdk in your client
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>
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
preShareKey(GroupCallSession groupCall) 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