From ac7fa164b6e39052bd8354e8c917418949abbf94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 14 Jun 2021 17:59:50 +0200 Subject: [PATCH] Adding importance handling --- .../Components/Video/LocalStreamMedia.svelte | 7 +++-- front/src/Components/Video/Peer.svelte | 2 +- .../Video/ScreenSharingMedia.svelte | 2 +- front/src/Components/Video/VideoMedia.svelte | 5 +++- front/src/Stores/ImportanceStore.ts | 26 +++++++++++++++++++ front/src/Stores/ScreenSharingStore.ts | 5 ++-- front/src/WebRtc/ScreenSharingPeer.ts | 6 +++-- front/src/WebRtc/VideoPeer.ts | 6 +++-- 8 files changed, 48 insertions(+), 11 deletions(-) create mode 100644 front/src/Stores/ImportanceStore.ts diff --git a/front/src/Components/Video/LocalStreamMedia.svelte b/front/src/Components/Video/LocalStreamMedia.svelte index 43b1d117..375612a6 100644 --- a/front/src/Components/Video/LocalStreamMedia.svelte +++ b/front/src/Components/Video/LocalStreamMedia.svelte @@ -1,4 +1,6 @@
- +
diff --git a/front/src/Components/Video/Peer.svelte b/front/src/Components/Video/Peer.svelte index c73d620e..8d5637f6 100644 --- a/front/src/Components/Video/Peer.svelte +++ b/front/src/Components/Video/Peer.svelte @@ -15,6 +15,6 @@ {:else if peer instanceof ScreenSharingPeer} {:else} - + {/if} diff --git a/front/src/Components/Video/ScreenSharingMedia.svelte b/front/src/Components/Video/ScreenSharingMedia.svelte index e16fac58..0dbc3c16 100644 --- a/front/src/Components/Video/ScreenSharingMedia.svelte +++ b/front/src/Components/Video/ScreenSharingMedia.svelte @@ -45,7 +45,7 @@ {#if $streamStore === null} {name} {/if} - +