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

Capture handler doesn't return error when device access is prompted #2

Open
magestican opened this issue Mar 15, 2017 · 0 comments
Open

Comments

@magestican
Copy link

I have seen a change in the behaviour of the media acquisition process for this plugin on the callback for .capture function.

In the past this was the behaviour :

  1. A new caller enters the website
  2. The access media prompt appears in chrome
  3. The user doesnt accept
  4. Error parameter is populated with cannot access camera string and stream parameter is empty object

Current behavior :

  1. A new caller enters the website
  2. The access media prompt appears in chrome
  3. The user doesnt accept
  4. Error parameter is not populated (is undefined) and stream parameter is empty object

Is this an intended behaviour? Should stream never be returned as empty object perhaps?

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

1 participant