Class E2EEManager
- Namespace
- LiveKit.Rtc
- Assembly
- LivekitRtc.dll
Manager for end-to-end encryption.
public class E2EEManager
- Inheritance
-
E2EEManager
- Inherited Members
Constructors
E2EEManager(ulong, E2EEOptions?)
Used by the SDK, which creates the manager when ConnectAsync(string, string, RoomOptions?, CancellationToken) runs. Get it from E2EEManager instead of constructing it.
public E2EEManager(ulong roomHandle, E2EEOptions? options)
Parameters
roomHandleulongNative handle of the room, which the public API does not expose.
optionsE2EEOptionsThe E2EE options, or null when encryption is disabled.
Properties
Enabled
Gets whether E2EE is enabled.
public bool Enabled { get; }
Property Value
KeyProvider
Gets the key provider.
public KeyProvider? KeyProvider { get; }
Property Value
Options
Gets the E2EE options.
public E2EEOptions? Options { get; }
Property Value
Methods
GetFrameCryptors()
Gets the list of frame cryptors for all participants.
public List<FrameCryptor> GetFrameCryptors()
Returns
- List<FrameCryptor>
A list of frame cryptors.
SetEnabled(bool)
Sets whether E2EE is enabled.
public void SetEnabled(bool enabled)
Parameters
enabledboolTrue to enable, false to disable.