Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
508e8eb4
Commit
508e8eb4
authored
Jun 07, 2024
by
Timothy J. Baek
Browse files
refac
parent
dfc2fb65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/lib/components/chat/MessageInput/CallOverlay.svelte
src/lib/components/chat/MessageInput/CallOverlay.svelte
+6
-2
No files found.
src/lib/components/chat/MessageInput/CallOverlay.svelte
View file @
508e8eb4
...
@@ -8,6 +8,7 @@
...
@@ -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,9 +365,12 @@
...
@@ -364,9 +365,12 @@
});
});
}
}
if (cameraStream) {
await getVideoInputDevices();
video.srcObject = cameraStream;
video.srcObject = cameraStream;
await video.play();
await video.play();
}
}
}
};
};
const stopVideoStream = async () => {
const stopVideoStream = async () => {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment