Jitsi API doesn't work properly

Jitsi API doesn’t work normally. When I upload my files it works, then after some time that says that can not access microphone and camera. How to fix this?