Simple WebRTC Implementation - Peer 2 Peer

An attempt to simplify this process by Akshat Girdhar

Step 1 : Allow your browser to get your video!

Step 2 : Open another browser window with this web-page

Step 3 : Now, Click on create offer button below - you'll get a random roomId and an SDP offer :

Now that you have the roomId and SDP offer

Step 4 : Copy the roomId

Step 5 : Go to the 2nd browser window now, paste the roomId in the input box FOR PEER 2

Step 6 : Copy the offer from PEER 1, paste the offer in the SDP offer window in PEER 2 - 2nd broswer window.

Step 7 : Now that you have SDP offer in PEER 2 window, click on the button below to create an answer.

Step 8 : Once you have the answer, copy the complete answer and paste it back to PEER 1 - in the SDP answer window.

Step 9 : Once you have pasted answer FROM PEER 2 into the answer window from PEER 1

Step 10 : Now click on the button below Add Answer

Voila, You have established a webrtc connection between 2 peers!

If this helped you, do consider :

Buy Me A Coffee