Hello, I'm new to webRTC and I'm testing the code below that was copied from a website and did not work when I open the project in ASP.NET. The video opens with a webcam, in the site where I took the example the iphone recognizes the demos very well. Could anyone say what can be wrong? In the iphone does not ask if I want to allow access to the Camera, but when I access the site direct, it asks and it works.
I took the code from the site below and removed what I did not find necessary.
'<link rel="icon" sizes="192x192" href="~/fonts/webrtc-icon-192x192.png">
<link href="~/Content/css.css" rel="stylesheet" />
<link href="~/Content/main.css" rel="stylesheet" />
<div id="container">
<video id="gum-local" autoplay playsinline></video>
<div id="errorMsg"></div>
</div>
<script src="~/Scripts/adapter-latest.js"></script>
<script src="~/Scripts/common.js"></script>
<script src="~/Scripts/main.js"></script>
<script src="~/Scripts/ga.js"></script>'