Fix local streamable toggle highlighted
This commit is contained in:
parent
462cb53101
commit
4400c79b93
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue