getUserMedia() is not allowed in localhost - Safari 11
Update:
You can now enable this from the Develop menu:
Select Allow Media Capture on Insecure Sites
Original Answer:
Yes, you will need to run it with HTTPS, even with localhost, when using Safari.
Do you see get this error even with an ngrok tunnel using HTTPS?
In last version of safari, the option to allow media capture from insecure sites is located directly in the web inspector window :