rposbo / speaker-recognition-api

A simple demo project for the Microsoft Cognitive Services Speaker Recognition APIs
https://rposbo.github.io/speaker-recognition-api/
30 stars 14 forks source link

navigator.getUserMedia is not a function on Localhost #9

Closed toddler4372 closed 3 years ago

toddler4372 commented 3 years ago

The identification works well on your secure site, but I get this error when testing locally when clicking "Create Identification Profile." I tried using navigator.mediaDevices.getUserMedia() instead but had the same error.

Screen Shot 2021-03-22 at 11 00 23 AM
toddler4372 commented 3 years ago

Nevermind, I was accessing the server via local IP, now works with http://localhost:8080/.

rposbo commented 3 years ago

yeah, I think you need to use https to access getUserMedia, or localhost.