dialogflow-javascript-client icon indicating copy to clipboard operation
dialogflow-javascript-client copied to clipboard

No microphone access using Javascript SDK

Open RavishankarR opened this issue 7 years ago • 0 comments

My project needs to access the device's microphone, and I am trying to achieve it using the Javascript SDK.

Here is the code as follows, const streamClient = client.createStreamClient(); streamClient.onInit = function () { console.log("Entered streamClient function"); streamClient.open(); };

The issue is that the streamClient is not created because webkitAudioContext is not defined. Why is this issue occuring? Is there a work around for this?

PS: I am able to send and receive text responses using the same SDK. So I guess it is only the microphone part of the SDK that has bugs.

RavishankarR avatar May 10 '17 07:05 RavishankarR