From f516a76f2cac3e4bf37aa87fa54aaffdfca990e3 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 14 Mar 2022 15:33:14 -0400 Subject: [PATCH] webrtc: add example for browser client --- web/webrtc.html | 525 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 525 insertions(+) create mode 100644 web/webrtc.html diff --git a/web/webrtc.html b/web/webrtc.html new file mode 100644 index 000000000..7f4ab937c --- /dev/null +++ b/web/webrtc.html @@ -0,0 +1,525 @@ + + + + + VILLASnode: Simple WebRTC node example + + + + + + + + + + + + + +

+
+
+

Configuration

+
+
+ + +
+
+ + +
+
+
+
+
+ + +
+
+ + +
+
+
+ + +
+
+
+ +

VILLASnode setup

+
+
+

Config

+

Copy the contents of the following file into a file named webrtc.conf:

+
+
webrtc.conf
+
+
+ +

Invocation

+

Make sure webrtc.conf is in your current working directory and then run the following command:

+

+villas signal since -r 5 | villas pipe webrtc.conf webrtc_1
+
+
With Docker
+ You can also start VILLASnode via Docker by running the following command before the commands in the previous section. +

+alias villas='docker run -v $(pwd):/mount -w /mount registry.git.rwth-aachen.de/acs/public/villas/node'
+
+
+
+ +

Send message

+
+ + +
+ +

Log

+
+
Press "Connect" in the upper right corner to start
+
+ +

Received messages

+
+

+        
+ + + + + + + + +