From 78095421228c4a32c3e1cea1a48c322016b27507 Mon Sep 17 00:00:00 2001 From: Pankaj Kumar <85155188+PankajFB@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:32:09 +0530 Subject: [PATCH] initialized the answer object there were no object answers initialized that why while pasting the (peeraA_final) content there was an error --- webrtc/readme.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webrtc/readme.txt b/webrtc/readme.txt index 6c3b4fc8..ba394b01 100644 --- a/webrtc/readme.txt +++ b/webrtc/readme.txt @@ -4,7 +4,9 @@ Paste peerA.js content in first browser dev tools Copy the SDP offer generated JSON Got to the second browser and create "offer" object and set it to the SDP you copied (signled) Paste peerB.js content in second browser dev tools -Go back to First browser (peer A) and paste the content of peerA_Final.js +Copy the SDP that u have revived. +Go back to First browser (peer A) and create object "answer" and set it to the SDP u copied. +and now paste the content of peerA_Final.js use sendChannel.send() to send data from peerA use remoteConnection.channel.send() to send data from peerB