jitsi-meet: Camera is not working even all the permissions are given
I am getting below error :
2024-01-29T12:01:06.743Z [features/base/tracks] Failed to create local tracks [‘video’] DOMException: Permission denied
Even when I ovewite config and allow permission. If I use the same code in codepen then it is working correctly but when we integrate this in our site it not working even permission is given.
How we can solve that @saghul ? I also try to find other resources on internet but didn’t found any relevant result ?
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 16 (8 by maintainers)
Solved : Add this script in index.html file :
<script src="https://meet.jit.si/external_api.js"></script>Thanks @saghul , for giving hint
Your deployment works ok.
The problem I see is that codesandbox runs your code in an iframe and then in turn our external API uses another iframe, and permissions are not delegated correctly.
If you test this using a standalone html page on a server is will just work.
I’ll try to take a look tomorrow.