mutual text

 

WebRTC P2P Chat — Manual Signaling

WebRTC P2P Chat (Manual Signaling)

Step 1: One side creates an Offer → copy the SDP text and send to other side.
Step 2: Other side pastes the Offer and clicks "Accept Offer" → it will generate an Answer. Copy Answer back and paste into Offerer, click "Accept Answer". After exchange the DataChannel should open and chat works.


Notes: Uses WebRTC DataChannel with a public STUN server for NAT traversal. This simple manual-signaling method works for quick testing. For reliable public usage, host this file and use automatic signaling (server) or use a hosting service so users don't need to copy/paste SDPs.

Comments

Popular posts from this blog

hi

free earning