Fix to-device encryption info label (#3208)

* Fix to-device encryption info label
The label was shown also without checking that we use PerParticipantE2EE. Which is a prerequisite for toDevice transport. As a result the label was shown when not desired.

* rename: useLiveKit -> useLivekit

* make the settings naming consistent
This commit is contained in:
Timo
2025-05-13 22:05:55 +02:00
committed by GitHub
parent 04bc6c77a3
commit e6710f72e3
10 changed files with 474 additions and 28 deletions

View File

@@ -48,7 +48,7 @@ interface UseLivekitResult {
connState: ECConnectionState;
}
export function useLiveKit(
export function useLivekit(
rtcSession: MatrixRTCSession,
muteStates: MuteStates,
sfuConfig: SFUConfig | undefined,