From 4b77e8c57754fcd6e50719a91ec2cc33177fbcda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Fri, 28 May 2021 09:31:04 +0200 Subject: [PATCH 1/8] Switching Camera controls in Svelte Moving Camera controls out of HTML + MediaManager and into Svelte components --- front/dist/index.tmpl.html | 4 +- front/src/Components/App.svelte | 5 ++ front/src/Components/CameraControls.svelte | 59 +++++++++++++++++++ front/src/Components/images/cinema-close.svg | 41 +++++++++++++ .../Components/images}/cinema.svg | 0 .../Components/images}/microphone-close.svg | 0 .../Components/images}/microphone.svg | 0 .../Components/images}/monitor-close.svg | 0 .../Components/images}/monitor.svg | 0 front/src/WebRtc/MediaManager.ts | 28 ++++----- 10 files changed, 121 insertions(+), 16 deletions(-) create mode 100644 front/src/Components/CameraControls.svelte create mode 100644 front/src/Components/images/cinema-close.svg rename front/{dist/resources/logos => src/Components/images}/cinema.svg (100%) rename front/{dist/resources/logos => src/Components/images}/microphone-close.svg (100%) rename front/{dist/resources/logos => src/Components/images}/microphone.svg (100%) rename front/{dist/resources/logos => src/Components/images}/monitor-close.svg (100%) rename front/{dist/resources/logos => src/Components/images}/monitor.svg (100%) diff --git a/front/dist/index.tmpl.html b/front/dist/index.tmpl.html index 7ef44116..1da7fad6 100644 --- a/front/dist/index.tmpl.html +++ b/front/dist/index.tmpl.html @@ -59,7 +59,7 @@ -
+