commit
9676014120
3 changed files with 6 additions and 6 deletions
|
@ -50,13 +50,13 @@ export function VideoPreview({
|
||||||
<div className={styles.preview} ref={previewRef}>
|
<div className={styles.preview} ref={previewRef}>
|
||||||
<video ref={videoRef} muted playsInline disablePictureInPicture />
|
<video ref={videoRef} muted playsInline disablePictureInPicture />
|
||||||
{state === GroupCallState.LocalCallFeedUninitialized && (
|
{state === GroupCallState.LocalCallFeedUninitialized && (
|
||||||
<Body fontWeight="semiBold" className={styles.webcamPermissions}>
|
<Body fontWeight="semiBold" className={styles.cameraPermissions}>
|
||||||
Webcam/microphone permissions needed to join the call.
|
Camera/microphone permissions needed to join the call.
|
||||||
</Body>
|
</Body>
|
||||||
)}
|
)}
|
||||||
{state === GroupCallState.InitializingLocalCallFeed && (
|
{state === GroupCallState.InitializingLocalCallFeed && (
|
||||||
<Body fontWeight="semiBold" className={styles.webcamPermissions}>
|
<Body fontWeight="semiBold" className={styles.cameraPermissions}>
|
||||||
Accept webcam/microphone permissions to join the call.
|
Accept camera/microphone permissions to join the call.
|
||||||
</Body>
|
</Body>
|
||||||
)}
|
)}
|
||||||
{state === GroupCallState.LocalCallFeedInitialized && (
|
{state === GroupCallState.LocalCallFeedInitialized && (
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
background-color: var(--bgColor3);
|
background-color: var(--bgColor3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.webcamPermissions {
|
.cameraPermissions {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
|
|
@ -103,7 +103,7 @@ export const SettingsModal = (props) => {
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<SelectInput
|
<SelectInput
|
||||||
label="Webcam"
|
label="Camera"
|
||||||
selectedKey={videoInput}
|
selectedKey={videoInput}
|
||||||
onSelectionChange={setVideoInput}
|
onSelectionChange={setVideoInput}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue