Push-To-Talk with Speech Recognition

0 favourites
  • 2 posts
  • Problem Description

    I was trying to implement a push-to-talk button for speech recognition.

    My first observation was, in node-webkit export, the mic couldn't bypass the request of UserMedia access.

    Moreover, in HTML5 export, using push-to-talk becomes a nightmare since every time the user pushes the button to talk, the mic requests access again and again.

    Attach a Capx


    Description of Capx

    A simple capx demonstrating only the issue

    Steps to Reproduce Bug

    • Step 1 Hold down space key
    • Step 2 Speak
    • Step 3 Hold down again the space key to talk

    Observed Result

    It asks again for permission

    Expected Result

    It would be nice to have an option to completely bypass the request for access,

    or even ask only once when the player opens the game for the first time.

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    Construct 2 beta release r192

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry, nothing we can do about this, it's just what the browser does.

    Try working around it with continuous mode and just ignore any results that come in while not holding space.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)