mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-06 07:20:25 +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,
|
||||
};
|
||||
|
||||
const localTrackOptions = useMemo(() => {
|
||||
return {
|
||||
const localTrackOptions = useMemo(() => ({
|
||||
// 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
|
||||
// shouldn't cause this hook to recreate the track, which is why we
|
||||
|
||||
Reference in New Issue
Block a user