Improving error message
This commit is contained in:
parent
eb6cfdf53d
commit
5f562f49c3
@ -423,7 +423,7 @@ export const localStreamStore = derived<Readable<MediaStreamConstraints>, LocalS
|
|||||||
//throw new Error('Unable to access your camera or microphone. Your browser is too old.');
|
//throw new Error('Unable to access your camera or microphone. Your browser is too old.');
|
||||||
set({
|
set({
|
||||||
type: 'error',
|
type: 'error',
|
||||||
error: new Error('Unable to access your camera or microphone. Your browser is too old.'),
|
error: new Error('Unable to access your camera or microphone. Your browser is too old. Please consider upgrading your browser or try using a recent version of Chrome.'),
|
||||||
constraints
|
constraints
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user