{#if voice.error && session.status === 'connected'}
{/if} {#if share.error}{/if} {#snippet spot()} {#if self && focus != null && focused}Shown in a separate window.
{:else}{focusWatch.state === 'failed' ? 'Could not connect to the stream. Across the internet both of you need a STUN server; networks that block direct connections need a relay. Both are in Settings, Voice.' : 'Connecting to the stream...'}
{/if} {#if showStats}{watching.state === 'failed' ? 'Could not connect to the stream. Across the internet both of you need a STUN server set in Settings, Voice.' : 'Connecting to the stream...'}
{/if} {#if shown.length && !focused}Could not connect to the stream. Across the internet both of you need a STUN server, chosen in Settings, Voice (the person sharing has to restart the stream afterwards).
{/if} {/if}