Fix local streamable toggle highlighted

This commit is contained in:
Nolway 2022-01-31 11:40:16 +01:00
parent 462cb53101
commit 4400c79b93
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
if (stream) { if (stream) {
embedScreen = { embedScreen = {
type: "streamable", type: "streamable",
embed: stream as unknown as Streamable, embed: peer as unknown as Streamable,
}; };
} }
</script> </script>

View file

@ -31,10 +31,10 @@
<div class="rtc-error" /> <div class="rtc-error" />
{/if} {/if}
{#if $streamStore !== null} {#if $streamStore !== null}
<!-- svelte-ignore a11y-media-has-caption -->
<i class="container"> <i class="container">
<span style="background-color: {getColorByString(name)};">{name}</span> <span style="background-color: {getColorByString(name)};">{name}</span>
</i> </i>
<!-- svelte-ignore a11y-media-has-caption -->
<video <video
use:srcObject={$streamStore} use:srcObject={$streamStore}
autoplay autoplay