Got (SPXERR_RUNTIME_ERROR) error while tried .JoinConversationAsync(conversation);
See original GitHub issuetried to implement a Real-time transcribing but was faced with the
ApplicationException: Exception with an error code: 0x1b (SPXERR_RUNTIME_ERROR) Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail (System.IntPtr hr) (at <17b0ebfb9fc84f04bceeee18201e9628>:0) Microsoft.CognitiveServices.Speech.Transcription.ConversationTranscriber+<>c__DisplayClass23_0.<JoinConversationAsync>b__1 () (at <17b0ebfb9fc84f04bceeee18201e9628>:0) Microsoft.CognitiveServices.Speech.Recognizer.DoAsyncRecognitionAction (System.Action recoImplAction) (at <17b0ebfb9fc84f04bceeee18201e9628>:0)
have no idea what’s going wrong 😦 can anyone help?
private async void StartContinuousTranscribing()
{
SpeechConfig config = SpeechConfig.FromSubscription(_speechServiceAPIKey, _speechServiceRegion);
config.SpeechRecognitionLanguage = _language;
config.SetProperty("ConversationTranscriptionInRoomAndOnline", "true");
config.SetProperty("DifferentiateGuestSpeakers", "true");
config.SetServiceProperty("transcriptionMode", "RealTimeAndAsync", ServicePropertyChannel.UriQueryParameter);
AudioConfig audioConfig = AudioConfig.FromDefaultMicrophoneInput();
string meetingID = Guid.NewGuid().ToString();
Conversation conversation = await Conversation.CreateConversationAsync(config, meetingID);
_transcriber = new ConversationTranscriber(audioConfig);
if (_transcriber != null)
{
_transcriber.SpeechStartDetected += OnSpeechStartedCallback;
_transcriber.SpeechEndDetected += OnSpeechEndedCallback;
_transcriber.Transcribing += OnSpeechTranscribingCallback;
_transcriber.Transcribed += OnSpeechTranscribedCallback;
_transcriber.Canceled += OnTranscribingCanceledCallback;
_transcriber.SessionStarted += OnSessionStartedCallback;
_transcriber.SessionStopped += OnSessionStoppedCallback;
await _transcriber.JoinConversationAsync(conversation);
await _transcriber.StartTranscribingAsync().ConfigureAwait(false);
}
}
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Conversation Ip Violation, Can't sign in
I can't login in Unity hub or in assets store within Unity 2019.4.9f.1 then I tried to go to Unity answers, and I...
Read more >"Conversation not found" Error : r/ChatGPT
So I was trying to input stuff into one of my old chats and I got the error in the image. This happening...
Read more >Error: There was a problem getting the Conversation ...
It appears that you are using similar code to the original app in your server, however you have missed a crucial keyword. The...
Read more >php - Twilio Conversation Fatal error when trying to send ...
I have the conversation and the people are connected (I think) but when I go send a message I get the following error:...
Read more >Incorrect "You've reached the conversation limit for today. ...
Go to your account settings and ensure that your account is in good standing and doesn't have any restrictions. 3. If the issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using Unity with Microsoft.CognitiveServices.Speech.1.23.0 SDK. So I don’t know how to add it another way instead of unity package import. Is there any way to do it? the same behavior is observed on iPhone, Android devices, win, and mac PC…
sounds great ) going to contact thanks