HTML5 在使用非 localhost 地址访问时打开摄像头失败 。报getUserMedia error PermissionDeniedError,火狐下是可以正常调取的。
需要https:
火狐: