WebRTC Demo
This interactive demo creates two local RTCPeerConnections that are forced to relay through your turn-rs server (iceTransportPolicy: "relay"), captures your screen, and streams it from the "local" peer to the "remote" peer entirely via TURN.
How to use
- Start a turn-rs server reachable from your browser (default signaling assumes
turn:<server>:3478, credentialtest). - Fill in the server address and pick the transport (
udp/tcp) and auth user in both panels. - Click the local video to start screen capture and begin relaying.
Screen capture requires a secure context (
https://orlocalhost) and your browser's permission. The demo loads Vue from a CDN, so an internet connection is needed the first time.