Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

There were several requests related to using media devices (most notably camera and microphones). Because it's difficult to keep track and some of them might've been platform-specific, outdated, or poorly titled I'll collect here all that seem relevant.

Applicability

The first question worth asking is, should the library provide APIs for managing these permissions?

IMHO, it's worth considering if the following is true:

  • It's impossible or at least exceedingly difficult to do for API consumers without modifying the library source code
  • There are non-obvious footguns, security concerns, or other obstacles that make it easy for users to get things wrong
  • The cost of implementing and especially maintaining such a feature doesn't outweigh its usefulness (or exceed resources)
  • It's actually possible to do for all of the supported platforms (browser engines/backends), which does appear to be the case

I've done little research so I'm not currently in a position to answer the above, but maybe someone else has more insight.

Platform Support

A brief look at the documentation suggests that all browser engines support requesting permissions:

Scope

Not sure what features exactly need to be exposed, but presumably all kinds of permissions should be supported?

Next Steps

If the library should offer a platform-agnostic way of requesting permissions, a proof-of-concept might be helpful.

For now, I'll redirect all requests related to this topic here and close the issues. As always, feedback is welcome.

You must be logged in to vote

Replies: 1 comment

Comment options

phildremi
Nov 13, 2024
Collaborator Author

Related issues:

PRs:

Discussions:

Possibly related (or at least semi-related) - not sure yet:

Note that I didn't check closed issues; if someone wants to go through them, be my guest.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.