• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-MotionDetector - Error: getUserMedia

Scheduled Pinned Locked Moved Unsolved Troubleshooting
4 Posts 1 Posters 689 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    debaetstony
    last edited by Feb 3, 2022, 1:21 PM

    I reinstalled raspbian with the MMM-MotionDetector module and now keep getting following message:
    Error: getUserMedia is not implemented in this browser
    2022-02-03 13_37_45.png

    Tested older and new versions of raspbian on Pi4, also Stretch version on Pi3.
    Config > address: “0.0.0.0”,
    When changing to “localhost” or “127.0.0.1” you get the “NotFoundError: Requested device not found”
    2022-02-03 14_14_42.png

    Anyone ideas?

    I also noticed that in the new Buster the raspi-config camera has changed from camera to legacy camera. Could this have something to do with it?
    2022-02-02 15_31_17.png
    2022-02-02 15_33_07.png

    1 Reply Last reply Reply Quote 0
    • D Offline
      debaetstony
      last edited by Feb 4, 2022, 5:08 PM

      Found a workaround;
      Run as server and start chromium > authorize the camera.
      Of cours not the same.

      1 Reply Last reply Reply Quote 0
      • D Offline
        debaetstony
        last edited by Apr 25, 2022, 8:59 AM

        The above workaround doesn’t always work either!

        Answer from Github which does work;

        FYI: I switched back to the legacy raspios (https://www.raspberrypi.com/news/new-old-functionality-with-raspberry-pi-os-legacy/) and there the bug doesnt seem to appear.

        1 Reply Last reply Reply Quote 0
        • D Offline
          debaetstony
          last edited by Oct 31, 2022, 1:34 PM

          It looks like this won’t work again with the latest version of MagicMirror.
          When I look at Chromium, you can activate the camera on localhost & 127.0.0.1 (permission for this site) but on 0.0.0.0 it is grayed out. Think this will also be the case for Electronjs.

          Only possibility I see is;

          • list itemmake Electronjs authenticate the camera when starting module
          • list itemmake Electronjs authenticate the camera when starting MagicMirror

            set camera permission for 0.0.0.0

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy