mirror of
https://github.com/open-webui/open-webui
synced 2025-06-04 03:37:35 +00:00
refac
This commit is contained in:
parent
dfc2fb65af
commit
508e8eb4b1
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
import Tooltip from '$lib/components/common/Tooltip.svelte';
|
||||||
import VideoInputMenu from './CallOverlay/VideoInputMenu.svelte';
|
import VideoInputMenu from './CallOverlay/VideoInputMenu.svelte';
|
||||||
|
import { get } from 'svelte/store';
|
||||||
|
|
||||||
const i18n = getContext('i18n');
|
const i18n = getContext('i18n');
|
||||||
|
|
||||||
@ -364,8 +365,11 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
video.srcObject = cameraStream;
|
if (cameraStream) {
|
||||||
await video.play();
|
await getVideoInputDevices();
|
||||||
|
video.srcObject = cameraStream;
|
||||||
|
await video.play();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user