{#if state === "loading"}

Loading session

{statusText}

{:else}
{statusText}
{#if streamUrl} {:else}

Waiting for stream...

{/if}
{/if}