snowflake/server-webrtc
Arlo Breault d7676d2b9e Stop using OnIceComplete in server-webrtc
Similar to c28c8ca for proxy-goc
2019-05-21 14:34:40 -04:00
..
http.go Move server to server-webrtc. 2016-03-26 15:24:44 -07:00
README.md Move server to server-webrtc. 2016-03-26 15:24:44 -07:00
snowflake.go Stop using OnIceComplete in server-webrtc 2019-05-21 14:34:40 -04:00
torrc Enable tls websockets on the server 2016-12-19 16:07:02 -08:00

Ordinarily, the WebRTC client plugin speaks with a Broker which helps match and signal with a browser proxy, which ultimately speaks with a default websocket server.

However, this directory contains a WebRTC server plugin which uses an HTTP server that simulates the interaction that a client would have with the broker, for direct testing.

Edit server-webrtc/torrc and add "-http 127.0.0.1:8080" to the end of the ServerTransportPlugin line:

ServerTransportPlugin snowflake exec ./server-webrtc -http 127.0.0.1:8080
cd server-webrtc/
go build
tor -f torrc

Edit client/torrc and add "-url http://127.0.0.1:8080" to the end of the ClientTransportPlugin line:

ClientTransportPlugin snowflake exec ./client -url http://127.0.0.1:8080/