WebRTC remote view
- Go 1.12
More info in this blog post.
Running the server
The server receives the following flags through the command line:
Specifies the port where the HTTP server should listen, by default the port 9000 is used.
Allows to speficy a different STUN server, by default a Google STUN server is used.
Chrome 74+, Firefox 66+, Safari 12.x are supported. Older versions (within reason) should be supported as well but YMMV.
Build the deployment package by runnning
make. This should create a tar file with the
binary and web directory.
Copy the archive to a remote server, decompress it and run
agent application assumes the web dir. is in the same directory.
WebRTC requires a secure domain to work, the recommended approach towards this is to forward the agent port thru SSH tunneling:
ssh -L YOUR_LOCAL_PORT:localhost:9000
Then access the application on
http://localhost:YOUR_LOCAL_PORT, localhost should be considered
secure by modern browsers.
I'll see what I can do, create an issue!
MIT - see LICENSE for the full text.