LiveKit C++ SDK
Real-time audio/video SDK for C++
Loading...
Searching...
No Matches
livekit::E2EEOptions Struct Reference

#include <e2ee.h>

Collaboration diagram for livekit::E2EEOptions:

Public Attributes

KeyProviderOptions key_provider_options {}
 
EncryptionType encryption_type = EncryptionType::GCM
 

Detailed Description

End-to-end encryption (E2EE) configuration for a room.

Provide this in RoomOptions to initialize E2EE support.

IMPORTANT:

  • Providing E2EEOptions means "E2EE support is configured for this room".
  • Whether encryption is actively applied can still be toggled at runtime via E2EEManager::setEnabled().
  • A room can be configured for E2EE even if no shared key is provided yet. In that case, the app must supply keys later via KeyProvider (shared-key or per-participant).

The documentation for this struct was generated from the following file: