if there's a livekit dev/whoever's working on this, we implemented a pretty POC/demo-worthy version of e2ee on our fork:
https://github.com/invisv-privacy/client-sdk-js/
it borrows pretty heavily from jitsi's implementation and is definitely not something that I feel is ready/worthy/etc of a PR but in case there's anything useful for y'all thought it would be worth sharing