Fix local streamable toggle highlighted
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user