Questions tagged [ibm-cloud-speech]

5 questions
1
vote
1 answer

IBM Cloud Speech-to-Text SDK auth failures with bearer token

I'm learning to use the Watson Speech JS SDK. In particular I like Transcribe from Microphone, with Alternatives. I'm generating my token with a Firebase Cloud Function. I'm using AngularJS, not JQuery. The first problem I'm running into is var…
Thomas David Kehoe
  • 10,040
  • 14
  • 61
  • 100
1
vote
1 answer

IBM Watson Speech-to-Text "unable to transcode data stream audio/webm -> audio/x-float-array" media MIME types

I'm recording short audio files (a few seconds) in Chrome using mediaDevices.getUserMedia(), saving the file to Firebase Storage, and then trying to send the files to IBM Watson Speech-to-Text. I'm getting back this error message: unable to…
0
votes
1 answer

IBM Cloud auth refresh_token to refresh expired access_token?

IBM Cloud auth bearer tokens (access_token) expire in one hour. Two questions: Is there a specific error message that signals that the access_token has expired? Not the general error message HTTP Authentication failed; no valid credentials…
Thomas David Kehoe
  • 10,040
  • 14
  • 61
  • 100
0
votes
1 answer

IBM Watson Speech-to-Text speech-javascript-sdk "HTTP Authentication failed; no valid credentials available"

I'm trying to set up IBM Watson Speech-to-Text to run in my Angular frontend. I'm using German Attanasio's speech-javascript-sdk library. I want the transcript text to go to the console so I'm using the microphone-streaming-object-to-console.html…
Thomas David Kehoe
  • 10,040
  • 14
  • 61
  • 100
0
votes
1 answer

IBM Watson Speech-to-Text "Recognize audio" method?

How is the recognize method used to send an audio files to Speech-to-Text for transcription? Where is the audio file accessed? Is there somewhere to put a path to a local file, a Google Storage location, or a download URL? The documentation…