I am trying to make a 2 person video calling application using WebRTC. The code seems to be bug free, the only problem I am having is that the browser is not asking a prompt to allow for access to Webcam and Mic.
I have hosted the website here and the relevant files are here.
I have checked if the problem is not with the site and just with the Camera/ Mic, but that is not so. When I host my video. The problem is not there.
What is the problem that when I try a peer to peer Web Video call, there is no prompt for access to webcam/ Mic by the browser?
You haven't included the ps-webrtc-peerjs-final.js in your index.html file. Add the line
<script src="ps-webrtc-peerjs-final.js"></script>
just after the include of peer.min.js and everything will work fine... :D