Camera Issues after deploying

So, after a great struggle, I have successfully deployed my project. I used webrtc for deploying but the problem now i face is that the camera and feed works for a while and after sometime if i want to open the project again, the camera is not opening.
how to solve this issue.
link for my project:
link to git: affanmohammed/SLD-Main (