From 2d8997c6d7bbfc8a96afbe2c7ba21f72a39da6d9 Mon Sep 17 00:00:00 2001 From: TabascoEye Date: Tue, 11 May 2021 17:38:28 +0200 Subject: [PATCH 001/132] turning noise suppresion back on turning AGC off was a good idea, disabling noise suppresion with it was not. => should all end up in the "settings" menu in the end --- front/src/WebRtc/MediaManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/WebRtc/MediaManager.ts b/front/src/WebRtc/MediaManager.ts index 85060a86..2bed2c68 100644 --- a/front/src/WebRtc/MediaManager.ts +++ b/front/src/WebRtc/MediaManager.ts @@ -20,7 +20,7 @@ const audioConstraint: boolean|MediaTrackConstraints = { //TODO: make these values configurable in the game settings menu and store them in localstorage autoGainControl: false, echoCancellation: true, - noiseSuppression: false + noiseSuppression: true }; export type UpdatedLocalStreamCallback = (media: MediaStream|null) => void; 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 002/132] 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 @@ -
+