diff --git a/front/src/Stores/MediaStore.ts b/front/src/Stores/MediaStore.ts index 6d6fb4a8..dafdffc4 100644 --- a/front/src/Stores/MediaStore.ts +++ b/front/src/Stores/MediaStore.ts @@ -418,6 +418,7 @@ export const localStreamStore = derived, LocalS error: new Error('Unable to access your camera or microphone. You need to use a HTTPS connection.'), constraints }); + return; } else { //throw new Error('Unable to access your camera or microphone. Your browser is too old.'); set({ @@ -425,6 +426,7 @@ export const localStreamStore = derived, LocalS error: new Error('Unable to access your camera or microphone. Your browser is too old.'), constraints }); + return; } }