-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use UGG OPUS stream in a continuous recognition using C# SDK #44027
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @robch. |
@robch here is how the recording is captured using JavaScript and send to the SignalR hub to call the service above
|
Alternatively, I tried to use
Here is the debug trace for the above approach
|
I changed the recorder settings for testing purpuses by passing the following object to the {
audio: {
autoGainControl: false,
channelCount: 1,
echoCancellation: false,
latency: 0,
noiseSuppression: false,
sampleSize: 16
}, video: false
} I am able to write the bites to a local file and I am able to play the file with no problem. Here are the metadata info for the saved file
Still with no success into converting the audio bytes to test using the SDK. |
I provided a repo for this issue Azure-Samples/cognitive-services-speech-sdk#2387 . Also, this repo can provide a good sample once I get it to work. |
Type of issue
Code doesn't work
Description
I am trying to use a web-browser to record audio, transmit it using SignalR to the server, and use continuous speech recognition to transform the audio to text. However, I am running into errors while trying to use recognizer.
Here is my class that calls the recognizer
The SignalR hub that is calling this class is as follow
But I keep getting the following error
Here is a dump of the trace stack
Page URL
https://learn.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/ns-Microsoft.CognitiveServices.Speech.xml
Document Version Independent Id
87dd50dc-6504-1ab9-2e94-0d784fc4a563
Article author
@azure-sdk
Metadata
The text was updated successfully, but these errors were encountered: