doutao8774 2018-06-26 05:11
浏览 298

用于php项目的网络摄像头访问

I am making a project in php and want to use webcam and upload photo directly by clicking on it.

It's showing me

You have denied camera access.

Look for camera icon around your address bar to change your decision.

I enabled it from chrome setting but still it showing same error.

  • 写回答

1条回答 默认 最新

  • drvntaomy06331839 2018-06-26 07:46
    关注

    You must have an ssl certificate (https://) in order to use webcam. If you test it on localhost you can create self-signed certificate for test purposes.

    Here is some info on how to do that using openssl.

    评论

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码