cloudflare / cloudflare/realtimekit-ui

E2EEManager doesn't seem to work

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
64
Forks
22
Avg merge
1d 18h
Merged PRs (30d)
5

Description

I don't know If I'm using it wrong, but here is how I'm using

```typescript

const keyProvider = new E2EEManager.SharedKeyProvider();
await keyProvider.setKey(e2eeKey);
const e2eeManager = new E2EEManager({ keyProvider });
const e2eeModuleConfig = {
e2ee: {
enabled: true,
manager: e2eeManager,
},
};
const m = await Client.init({
authToken: token,
modules: e2eeModuleConfig,
});

```

join the meeting as usual, with enabled: false, works fine. but when enabled, all the media (audio and video) seems to be corrupted, I can't tell if the encrypting side or decrypting side is at fault.

There are no errors reported on console

Image

I can't find anywhere discussing it in documentation or forums

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.