100 ? "100%" : "90vh"}> {#if !webcam_accessed}
access_webcam()} />
{/if}
{#if !websocketMode}
{#if stream_state === "open" && showChatRecords && !inlineDisplayChatRecords}
{/if}
{#if hasCamera}
(cameraListShow = false)} > {#if cameraOff} {:else} {/if} {#if stream_state === "closed"}
{/if}
{#each available_video_devices as device, i}
handle_device_change(device.deviceId)} > {device.label} {#if selected_video_device && device.deviceId === selected_video_device.deviceId}
{/if}
{/each}
{/if} {#if hasMic}
(micListShow = false)} > {#if micMuted} {:else} {/if} {#if stream_state === "closed"}
{/if}
{#each available_audio_devices as device, i}
handle_device_change(device.deviceId)} > {device.label} {#if selected_audio_device && device.deviceId === selected_audio_device.deviceId}
{/if}
{/each}
{/if}
{#if volumeMuted} {:else} {/if}
{#if wrapperRect.width > 300}
{#if showChatRecords} {:else} {/if}
{/if}
{#if hasCamera}
{#if isPictureInPicture} {:else} {/if}
{/if}
{#if (!hasMic || micMuted) && stream_state === "open"}
{:else} {/if}