question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got (SPXERR_RUNTIME_ERROR) error while tried .JoinConversationAsync(conversation);

See original GitHub issue

tried 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:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dmytrohladyshevcommented, Aug 24, 2022

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…

0reactions
dmytrohladyshevcommented, Oct 19, 2022

sounds great ) going to contact thanks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found