• 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.

Electron microphone bug/issue

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 1.8k Views 2 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.
  • ? Offline
    A Former User
    last edited by Dec 1, 2016, 5:01 PM

    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

    B 1 Reply Last reply Dec 2, 2016, 3:21 AM Reply Quote 0
    • B Offline
      bhepler Module Developer @Guest
      last edited by Dec 2, 2016, 3:21 AM

      @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
      1 / 1
      • First post
        1/2
        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