Reputation: 1082
I've configured the App RTC Server in my PC. When I am accessing using local host (localhost:3000). The Video call is working. But when I am using IP address getting the error. (http://192.168.0.103:3000)
Failed to get access to local media. Error name was PermissionDeniedError. Continuing without sending a stream.
Error getting user media. Only secure origins are allowed.
getUsermedia error: Failed to get access to local media.
Upvotes: 2
Views: 6622
Reputation: 1784
getUserMedia
needs HTTPS to work. You'll have to implement HTTPS for your webserver. localhost
is the only domain allowed to use getUserMedia
without HTTPS.
Upvotes: 4