{#if loading}
Loading stream...
{:else if error && !realm}
Stream Not Found
{error}
Back to Home
{:else if realm}
{realm.name}
{#if realm.avatarUrl}
{:else} {realm.username?.charAt(0).toUpperCase() || '?'} {/if}
{realm.username}
{realm.viewerCount} {realm.viewerCount === 1 ? 'viewer' : 'viewers'}
Stream Stats
{#if stats.isLive} Live {:else} Offline {/if}
{#if stats.isLive}
Viewers
{stats.connections}
Bitrate
{formatBitrate(stats.bitrate)}
{#if stats.resolution !== 'N/A'}
Resolution
{stats.resolution}
{/if} {#if stats.fps > 0}
Frame Rate
{stats.fps.toFixed(1)} fps
{/if} {#if stats.codec && stats.codec !== 'N/A'}
Codec
{stats.codec}
{/if}
{:else}
📺
Stream is currently offline
{/if}
{/if} {#if message}
{message}
{/if}