From 52fe79df4790631ba40eb6718c09fc611af7ae08 Mon Sep 17 00:00:00 2001 From: kharhamel Date: Tue, 31 Aug 2021 18:28:59 +0200 Subject: [PATCH] FEATURE: improved the mediaStore code to disable tracks instead of deleting them --- front/src/Components/MyCamera.svelte | 26 +--- front/src/Phaser/Game/GameScene.ts | 2 +- front/src/Stores/MediaStore.ts | 158 +++++++++++-------------- front/src/Stores/ScreenSharingStore.ts | 12 +- front/src/WebRtc/SimplePeer.ts | 83 ++----------- front/src/WebRtc/VideoPeer.ts | 70 +++++------ 6 files changed, 112 insertions(+), 239 deletions(-) diff --git a/front/src/Components/MyCamera.svelte b/front/src/Components/MyCamera.svelte index ed4154a9..836a9108 100644 --- a/front/src/Components/MyCamera.svelte +++ b/front/src/Components/MyCamera.svelte @@ -1,27 +1,11 @@