# Plugin Demo: End-to-end Encryption

Want to learn more about the EchoTest plugin? Check the Documentation.

### Demo details

This is a variant of the Echo Test demo: everything is exactly the same in term of available controls, features, and the like, with the substantial difference that it shows how you can configure an end-to-end encryption context using the recently introduced Insertable Streams.

Specifically, this demo will prompt for a secret, and then use the same transform functions as this official demo to encrypt the media: this means Janus will NOT have access to the media, but will still be able to pass the packets to the EchoTest plugin and send them back, thus ensuring an end-to-end encryption of the content. In this context, the same page that encrypted the media will also decrypt it, which means that if you see both local and remote video, then it's working as expected. You'll probably want to then experiment with this feature by playing with other plugins as well, e.g., the VideoRoom, for E2E-encrypted conferences.

Notice that this demo only works on Chrome 86+ and makes use of the Insertable Streams API running on the main thread. For using e2ee with JavaScript workers or with non-Chromium browsers, please refer to the official demo code or contact us.

Press the `Start` button above to launch the demo.

Local Stream
Remote Stream