📁 WebRTC File Transfer

Direct peer-to-peer file sharing between browsers

📋 How to Use This Demo

  1. Sender: Click "Create Offer" and copy the generated connection data
  2. Receiver: Paste the offer and click "Create Answer", then copy the response
  3. Sender: Paste the answer and click "Connect" to establish the connection
  4. Sender: Select a file and click "Send File" to begin transfer
  5. Receiver: The file will be automatically downloaded when transfer completes
📤

Sender (Peer A)

1

Create Connection Offer

2

Paste Answer from Receiver

Click "Create Offer" to start the connection process
📥

Receiver (Peer B)

1

Paste Offer from Sender

2

Copy Answer to Sender

Waiting for connection offer from sender
3

Receive File

🚀 WebRTC File Transfer demo loaded and ready