This commit is contained in:
David Baker 2022-09-29 17:08:48 +01:00
parent 77da0c912f
commit f808c56121

View file

@ -48,7 +48,7 @@ export async function findDeviceByName(
* @return The available media devices
*/
export async function getDevices(): Promise<MediaDeviceInfo[]> {
let stream;
let stream: MediaStream;
try {
stream = await navigator.mediaDevices.getUserMedia({
audio: true,