diff --git a/Makefile.am b/Makefile.am index 7a6ca01dce..2a35c84812 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ demosdir = $(datadir)/janus/demos demos_DATA = $(NULL) jsmodulesdir = $(datadir)/janus/javascript -jsmodules_DATA = html/janus.js +jsmodules_DATA = html/demos/janus.js %.sample: %.sample.in $(MKDIR_P) $(@D) diff --git a/docs/header.html b/docs/header.html index 71dca3ff1c..e94203321e 100644 --- a/docs/header.html +++ b/docs/header.html @@ -33,7 +33,7 @@
-This is a variant of the Echo Test demo meant to showcase how
you can use an HTML5 canvas
element as a WebRTC media
source: everything is exactly the same in term of available controls,
diff --git a/html/canvas.js b/html/demos/canvas.js
similarity index 100%
rename from html/canvas.js
rename to html/demos/canvas.js
diff --git a/html/devicetest.html b/html/demos/devices.html
similarity index 91%
rename from html/devicetest.html
rename to html/demos/devices.html
index b32653d828..05ae58ffc6 100644
--- a/html/devicetest.html
+++ b/html/demos/devices.html
@@ -14,24 +14,24 @@
-
+
-
+
This is a variant of the Echo Test demo: everything is exactly the same in term of available controls, features, and the like, with the substantial difference that you can select which of the available diff --git a/html/devicetest.js b/html/demos/devices.js similarity index 100% rename from html/devicetest.js rename to html/demos/devices.js diff --git a/html/e2etest.html b/html/demos/e2e.html similarity index 91% rename from html/e2etest.html rename to html/demos/e2e.html index 9814f8f048..6c5053752c 100644 --- a/html/e2etest.html +++ b/html/demos/e2e.html @@ -14,24 +14,24 @@ - + - +
- + @@ -44,7 +44,13 @@This is a variant of the Echo Test and Canvas demos meant to showcase how you can use libraries like MediaPipe diff --git a/html/virtualbg.js b/html/demos/virtualbg.js similarity index 100% rename from html/virtualbg.js rename to html/demos/virtualbg.js diff --git a/html/webaudio.html b/html/demos/webaudio.html similarity index 91% rename from html/webaudio.html rename to html/demos/webaudio.html index 92e7ca7472..1fdc701c19 100644 --- a/html/webaudio.html +++ b/html/demos/webaudio.html @@ -21,17 +21,17 @@ $(".fixed-top li.dropdown").addClass("active"); $(".fixed-top a[href='webaudio.html']").addClass("active"); }); - $(".footer").load("footer.html"); + $(".footer").load("../footer.html"); }); - +
- + @@ -44,10 +44,16 @@This is a variant of the Echo Test demo meant to showcase how you can use the Web Audio API to manipulate the audio from the microphone, before sending it to Janus, diff --git a/html/webaudio.js b/html/demos/webaudio.js similarity index 100% rename from html/webaudio.js rename to html/demos/webaudio.js diff --git a/html/docs/index.html b/html/docs/index.html index ce7da9ad9c..0e93af4a4d 100644 --- a/html/docs/index.html +++ b/html/docs/index.html @@ -24,7 +24,7 @@
Janus is a WebRTC Server developed by Meetecho conceived to be a general purpose one. As such, it doesn't provide any functionality per se other than implementing the means to set up a WebRTC media communication with a browser, @@ -50,7 +50,7 @@