A React website, that demonstrates the capabilities of peer to peer communication through WebRTC. It is a serverless implementation, so manual exchange of Offer/Answer is involved. (Work in progress).
- Open the site in two seperate tabs.
- Provide access to camera and microphone (This is required because, the created Answer will timeout in 10 seconds otherwise).
- Click on Create Offer in one, and Accept Offer in the other.
- Exchange Offer/Answer as prompted.
- Click on Connect to Peer button, that will appear in one of the tabs.
- Both the tabs are now connected.
- Note: You can connect two seperate devices as well. But make sure, both of them are on the same network, otherwise the created answer will timeout in about 10 seconds. If both the devices are on the same network, you still have to make the Offer/Answer exchange quick.
- Video/Audio exchange (Can be disabled).
- Chatting.
- File sharing (When a file transfer is going on, the Send Button will be disabled, until the transfer gets completed).