MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Electron microphone bug/issue

    Troubleshooting
    2
    2
    1473
    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.
    • ?
      A Former User last edited by

      Anyone come across something like this before?

      In the codes there is this section
      r = requests.get(“http://localhost:8080/microphone?enabled=%s” % str(enable))
      if r.status_code != 200:
      print(“Used wrong endpoint for microphone debugging”)

      The above snippet basically means it is making a get request to the electron to enable microphone and it’s sending codes other than 200 which is causing to print the “wrong debugging microphone…” etc. So basically the issue persists in the npm start command meaning the electron

      bhepler 1 Reply Last reply Reply Quote 0
      • bhepler
        bhepler Project Sponsor @Guest last edited by

        @wjdw87 I hit something similar to this, yes. (Heh, sound familiar?) In my case, electron couldn’t access the RPi’s camera. The new version of Chromium has implemented a security “feature” that won’t let it access media hardware without a secured connection. You could try using https and see if that solves it.

        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy