This WebRTC demo does not utlize a STUN server. The 2 connections that are created will
only connect 2 browsers within the same PC.
- Open this page in 2 browsers on the same machine,
we'll call them Browser1 and Browser2.
- Browser1: Click Create Offer under the Initiator side.
This will output an SDP offer into 1.
- Browser1: Copy the Initiator's SDP offer from 1 to your clipboard.
- Browser2: Paste the Initiator's SDP offer into 2.
- Browser2: Click Create Answer under the Receiver side. This will process
the offer and output a corresponding SDP answer into 3.
- Browser2: Copy the Receiver's SDP answer from 3 to your clipboard.
- Browser1: Paste the Receiver's SDP answer into 4.
- Browser1: Click Store Answer to store the Receiver's SDP answer, which will
trigger the opening of the connection.
- If the connection is successful, the message log will output a confirmation.
Use the corresponding Message to Send boxes to send messages from the
Initiator and Receiver, respectively.