mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Update src/room/VideoPreview.tsx
Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
@@ -68,8 +68,7 @@ export const VideoPreview: FC<Props> = ({
|
|||||||
deviceId: devices.audioInput.selectedId,
|
deviceId: devices.audioInput.selectedId,
|
||||||
};
|
};
|
||||||
|
|
||||||
const localTrackOptions = useMemo(() => {
|
const localTrackOptions = useMemo(() => ({
|
||||||
return {
|
|
||||||
// The only reason we request audio here is to get the audio permission
|
// The only reason we request audio here is to get the audio permission
|
||||||
// request over with at the same time. But changing the audio settings
|
// request over with at the same time. But changing the audio settings
|
||||||
// shouldn't cause this hook to recreate the track, which is why we
|
// shouldn't cause this hook to recreate the track, which is why we
|
||||||
|
|||||||
Reference in New Issue
Block a user