Browser says "Camera Blocked to protect your privacy"

  1. type url chrome://flags/#unsafely-treat-insecure-origin-as-secure
  2. Enter url in the textarea
  3. Choose Enabled in the select option Click image link bellow to see detail

example


Chrome blocks vulnerable features—including camera, location, microphone, etc. on non-secure sites. As of July 2018, with the release of Chrome 68, Chrome starts to mark all HTTP sites as "not secure."

You have three options to unblock these features for your site:

  1. Treat 192.168.10.79 as secure origins by setting chrome://flags/#unsafely-treat-insecure-origin-as-secure. Origins must have their protocol specified, e.g., http://192.168.10.79.
  2. Port forwarding your site address to localhost. Chrome treats localhost as secure origins.
  3. Set up a self-signed certificate for the server.

The problem is because of http protocol. This is not a secure protocol.


Solution

In my scenario I have used https and have got all permissions.