Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use app with no-camera devices #221

Merged
merged 3 commits into from
Jan 18, 2017
Merged

Use app with no-camera devices #221

merged 3 commits into from
Jan 18, 2017

Conversation

Ivansss
Copy link
Member

@Ivansss Ivansss commented Jan 18, 2017

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
@@ -5360,7 +5360,7 @@
self.emit('localStream', stream);
} else {
// 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) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fewer brackets should be okay as well:
(err.name === 'DevicesNotFoundError' || err.name === 'NotFoundError')

…only).

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works, amazing 2 line fix 👍

@nickvergessen nickvergessen merged commit 6dfd35c into master Jan 18, 2017
@nickvergessen nickvergessen deleted the issue-160-no-camera branch January 18, 2017 14:14
marcoambrosini pushed a commit that referenced this pull request Oct 9, 2019
…ader-15.6.2

Bump vue-loader from 15.6.1 to 15.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants