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

Need a procedure reference for "request permission" #62

Closed
alvestrand opened this issue Mar 2, 2016 · 2 comments
Closed

Need a procedure reference for "request permission" #62

alvestrand opened this issue Mar 2, 2016 · 2 comments

Comments

@alvestrand
Copy link
Collaborator

In connection with linking to this spec from the getusermedia spec, I need a reference for "request permission". This should be a procedure, not an API call (although I suppose the API call should just say "invoke the procedure").

Suggested content:

  • Query for the permission
  • if permission is "granted", return "granted"
  • if permission is "denied", return "denied"
  • if permission is "prompt" or does not exist, prompt the user in a browser-specific fashion, and return a value based on the user's decision. If the user never decides, do not return.
    (Yes, we found it necessary to write this explicitly in the getusermedia spec.)

Text that can be copied is in the getUserMedia section of the getusermedia spec.

jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 12, 2016
jyasskin added a commit to jyasskin/permissions that referenced this issue Mar 18, 2016
@mounirlamouri
Copy link
Member

@jyasskin, can you extract your commit fixing this to a separate pull request?

@yang262
Copy link

yang262 commented Apr 3, 2019

getusermedia

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