Re-apply Simon's emebdded e2ee work on latest livekit branch

Replaces https://github.com/vector-im/element-call/pull/1350
This commit is contained in:
David Baker
2023-10-16 17:45:06 +01:00
parent cb39e760ab
commit 15d3e7574d
7 changed files with 130 additions and 23 deletions

View File

@@ -111,6 +111,10 @@ interface UrlParams {
* E2EE password
*/
password: string | null;
/**
* Whether we the app should use per participant keys for E2EE.
*/
perParticipantE2EE: boolean;
}
// This is here as a stopgap, but what would be far nicer is a function that
@@ -206,6 +210,7 @@ export const getUrlParams = (
fontScale: Number.isNaN(fontScale) ? null : fontScale,
analyticsID: parser.getParam("analyticsID"),
allowIceFallback: parser.getFlagParam("allowIceFallback"),
perParticipantE2EE: true /*parser.getFlagParam("perParticipantE2EE")*/,
};
};