mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +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 VideoInputMenu from './CallOverlay/VideoInputMenu.svelte';
|
||||
import { get } from 'svelte/store';
|
||||
|
||||
const i18n = getContext('i18n');
|
||||
|
||||
@ -364,9 +365,12 @@
|
||||
});
|
||||
}
|
||||
|
||||
if (cameraStream) {
|
||||
await getVideoInputDevices();
|
||||
video.srcObject = cameraStream;
|
||||
await video.play();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const stopVideoStream = async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user