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) {
embedScreen = {
type: "streamable",
embed: stream as unknown as Streamable,
embed: peer as unknown as Streamable,
};
}
</script>

View File

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