Reputation: 21
I am trying to get user's permission for my webRTC implementation. I have an http website where i am allowing the user to make calls. i have embedded an iframe that would be loaded on user click (source provided to an otherwise empty iframe). The source of the iframe is secure page.
I get an error stating that i cant use getUserMedia function in an unsecure page.
Any suggestions/help?
Upvotes: 0
Views: 1669
Reputation: 17285
getUserMedia requires a secure origin in Chrome. The origin is your http page so this will not work, you need https.
See here for further information.
Upvotes: 3