diff --git a/html/background/retro.webp b/html/background/retro.webp new file mode 100644 index 0000000000..09df77afa2 Binary files /dev/null and b/html/background/retro.webp differ diff --git a/html/demos.html b/html/demos.html index a4ad9dd377..fc9f1a57e2 100644 --- a/html/demos.html +++ b/html/demos.html @@ -110,6 +110,14 @@
This is a variant of the Echo Test and Canvas demos meant to + showcase how you can use libraries like + MediaPipe + to add a virtual background to your webcam capture before sending it + to Janus: everything is exactly the same in term of available controls, + features, and the like, with the substantial difference that we'll + play a bit with what we'll send on the video stream.
+More precisely, the demo captures the webcam feed via a
+ getUserMedia
call, and then will make use of MediaPipe
+ to segment the video and replace the background by drawing on a
+ canvas
element. The canvas
element is then used
+ as the actual source of media for our PeerConnection, which means the
+ video we get back from the EchoTest plugin should reflect the
+ tweaks we've made on the stream.
Notice that this is a very naive implementation, which is heavily + based on the example + from the MediaPipe Selfie Segmentation documentation.
+Press the Start
button above to launch the demo.