[tor-commits] [flashproxy/webrtc] Add howto of webrtc_cmd from cjb.

dcf at torproject.org dcf at torproject.org
Mon Dec 1 06:29:03 UTC 2014


commit 40b3d4a4f0fde0366f5d5b09c8d345e30dba33f3
Author: David Fifield <david at bamsoftware.com>
Date:   Sun Nov 30 22:27:02 2014 -0800

    Add howto of webrtc_cmd from cjb.
    
    https://trac.torproject.org/projects/tor/ticket/5578#comment:38
---
 webrtc/README |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/webrtc/README b/webrtc/README
index b1b0ac5..efd7c7f 100644
--- a/webrtc/README
+++ b/webrtc/README
@@ -39,3 +39,30 @@ http://printf.net/webrtc-cmd.patch
 $ patch -p1 < webrtc-cmd.patch
 $ gclient sync
 $ ninja -C out/Debug
+
+=== Using webrtc_cmd
+
+https://trac.torproject.org/projects/tor/ticket/5578#comment:38
+https://cjb.github.io/serverless-webrtc/serverless-webrtc.html
+
+$ cd out/Debug
+$ ./webrtc_cmd
+Enter command:
+init
+Enter command:
+offer
+Enter command:
+print
+{"sdp":...}
+
+Now that you have an offer, paste it into another compatible endpoint,
+such as https://cjb.github.io/serverless-webrtc/serverless-webrtc.html.
+Get a reply string to give back to webrtc_cmd.
+
+Enter command:
+reply
+Enter reply:
+{"sdp":...}
+Enter command:
+chat
+hello world



More information about the tor-commits mailing list