[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 40b3d4a4f0fde0366f5d5b09c8d345e30dba33f3
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits