A quick way for testing SylkServer and Sylk WebRTC client
871
sylk-in-a-box is an experimental way to easily test the SylkServer WebRTC conference server.
This experiment uses a fat Docker container to run all required services: SylkServer and the Sylk WebRTC client. SylkServer will be listening on port 10888 for WebSocket traffic and port 3000 for the main interface.
docker run -p 3000:3000 -p 10888:10888 --rm --name sylk-in-a-box -t -i saghul/sylk-in-a-box
To build the image:
make
Run it in an interactive shell:
make run
Web browsers will refuse to work with a WebRTC website unless it's visited using a "secure origin". For this example we are using a self-signed certificate, so you'll need to accept it in / add an exception in order for the demo to work.
First get the container IP:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' sylk-in-a-box
Then visit these 2 URLS:
https://THE_IP:10888
https://THE_IP:3000
Content type
Image
Digest
Size
435.8 MB
Last updated
almost 10 years ago
docker pull saghul/sylk-in-a-box