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

Camera not showing anymore after update on Firefox #25

Open
DouglasWaltricke opened this issue Dec 15, 2018 · 2 comments
Open

Camera not showing anymore after update on Firefox #25

DouglasWaltricke opened this issue Dec 15, 2018 · 2 comments

Comments

@DouglasWaltricke
Copy link

DouglasWaltricke commented Dec 15, 2018

After a update on firefox that recently was applied in chrome too, the camera doest not work anymore.

Probably because of this:
https://www.fxsitecompat.com/en-CA/docs/2018/url-createobjecturl-no-longer-accepts-mediastream-as-argument/

Can someone help-me ?

On the line 41 the method deprecated is being used:

`scope.enableCamera = function () {
return navigator.getUserMedia({
audio: false,
video: true
}, function (stream) {
return scope.$apply(function () {
scope.stream = stream;
scope.isLoaded = true;
41 return scope.videoStream = $sce.trustAsResourceUrl(window.URL.createObjectURL(stream));
});
}, function (error) {
return scope.$apply(function () {
scope.isLoaded = true;
return scope.noCamera = true;
});
});

@DouglasWaltricke DouglasWaltricke changed the title Camera not swhoing anymore after update on Firefox Camera not showing anymore after update on Firefox Dec 15, 2018
@zachdunn
Copy link
Member

Hi Doug! This project was written for an older version of Angular and isn't something we actively maintain anymore. While you can probably fork a version with updates, I'd bet there's something more modern out there for React or newer versions of Angular.

@alinoudev
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants