brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

CEF3 accessing microphone #12517

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by apdarshan Thursday Feb 06, 2014 at 02:41 GMT Originally opened as https://github.com/adobe/brackets/issues/6774


In my extension I am trying to use brand new webkitSpeechRecognition api. But when I run the below code, it is going to end callback. Is there a permission issue to access microphone from CEF. I am using Brackets sprint 34. And even <input type="text" x-webkit-speech /> is not working.

var recognition = new webkitSpeechRecognition() ;
  recognition.continuous = true;
  recognition.interimResults = true;
  recognition.lang = "en-IN";

  recognition.onstart = function() { console.log("started"); }
  recognition.onresult = function(event) { 
    console.log("result:", event.results);
  }
  recognition.onerror = function(event) { console.log("error"); }
  recognition.onend = function(e) { console.log("end", e); }

  recognition.start()
core-ai-bot commented 3 years ago

Comment by peterflynn Thursday Feb 06, 2014 at 08:58 GMT


brackets-shell is currently based on Chromium 29, and the webkitSpeechRecognition API was just introduced in Chromium 33, so this definitely won't work yet. Once we update to a newer CEF, it still may not work however because we're not including the full set multimedia binaries that Chromium uses.

Tentatively setting to 'tracking' since@apdarshan can circle back and re-test this later when a newer CEF comes in. But if there's a problem due to the excluded libraries, this is pretty much a fact of life for the official brackets-shell builds...

core-ai-bot commented 3 years ago

Comment by njx Monday Feb 10, 2014 at 19:12 GMT


Marking no priority - we would take this opportunistically but wouldn't do work to enable it. Leaving open to track until we get the next CEF to see if it works though.

core-ai-bot commented 3 years ago

Comment by pthiess Thursday May 08, 2014 at 21:30 GMT


@JeffryBooher