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

Improve error handling when HTTP header forbid webcam #186

Open
binarykitchen opened this issue Sep 6, 2021 · 0 comments
Open

Improve error handling when HTTP header forbid webcam #186

binarykitchen opened this issue Sep 6, 2021 · 0 comments

Comments

@binarykitchen
Copy link
Owner

When apache header protection is not set to allow camera from the website for security reason (especially for children), the videomail client produces a different error message saying webcam is not available.

Improve this somehow by parsing headers if possible. Watch for these:

content-security-policy: block-all-mixed-content // <-- what is this? block something like webcams?
expires: Wed, 11 Jan 1984 05:00:00 GMT // <-- why does get everything expired? dont you want to use cache?
permissions-policy: geolocation=*, midi=(), sync-xhr=(self "https://echointerpreting.com.au" "https://www.echointerpreting.com.au"), microphone=(), camera=(), magnetometer=(), gyroscope=(), payment=(), fullscreen=(self "https://echointerpreting.com.au" "https://www.echointerpreting.com.au") // <-- whoah, permission policy? never seen before.
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