3 ms·
How they made scalable webrtc end-to-end encrypted? I guess it is not scalable (~5 members max).
by ex3ndr 6y ago
How they made scalable webrtc end-to-end encrypted? I guess it is not scalable (~5 members max).
- Arathorn 6y agoMulti-way video conferencing in Matrix isn't e2ee yet; the e2ee-by-default here refers to private group chats, DMs, and 1:1 video/voip calls. Once Jitsi lands their E2EE support (hopefully using Matrix's E2EE for key management, c.f. https://news.ycombinator.com/item?id=22855407 https://news.ycombinator.com/item?id=22855407) then we'll get E2EE video conferencing too. Until then, Matrix (but not Riot) also supports E2EE video conferencing via full mesh webrtc, but as you say, it scales to relatively few users.
- ex3ndr 6y agoInsertable streams are not going to help much since if it encrypts every frame this would mean that every frame will be encrypted and therefore couldn't be compressed. It doesn't make sense actually since you could just encrypt RTP payloads instead keeping service messages in plain text.
- Arathorn 6y agoInsertable streams let you encrypt the compressed media. WebRTC doesn’t give you hooks to re-encrypt the SRTP payloads.
- ex3ndr 6y agoHow does this visualisations are done? How it could "decode" incorrect image and display as a demo in various articles? I do not believe that video codecs are able to decode over "encrypted" data and produce some video stream.
- Arathorn 6y agothe point of insertable streams is that you can hook into the compressed payloads and encrypt them after compression, and then decrypt them before decompression. The codec never sees encrypted data.