зеркало из https://github.com/nextcloud/spreed.git
Add another error name when checking for no-camera fallback.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
c1e7b7ee04
Коммит
2fd35a773a
|
@ -7551,7 +7551,7 @@
|
||||||
self.emit('localStream', stream);
|
self.emit('localStream', stream);
|
||||||
} else {
|
} else {
|
||||||
// Fallback for users without a camera
|
// Fallback for users without a camera
|
||||||
if (self.config.audioFallback && err.name === 'DevicesNotFoundError' && constraints.video !== false) {
|
if (self.config.audioFallback && (err.name === 'DevicesNotFoundError' || err.name === 'NotFoundError') && constraints.video !== false) {
|
||||||
constraints.video = false;
|
constraints.video = false;
|
||||||
self.start(constraints, cb);
|
self.start(constraints, cb);
|
||||||
return;
|
return;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче