WebRTC samples Peer connection end to end encryption

Sender and receiver

Sender and receiver

Crypto key: Encrypt first bytes:

Middlebox

Switch audio to middlebox:

View source on GitHub