Comments (5)
@sonbs21 Thank you for using JS Speech SDK, and writing this issue up. Any chance you could gather logs on this issue, and help us understand what exactly was "illegally invoked"?
(To enable logging, use the following code before starting recognition:
sdk.Diagnostics.SetLoggingLevel(sdk.LogLevel.Debug);
sdk.Diagnostics.SetLogOutputPath("LogfilePathAndName");
from cognitive-services-speech-sdk-js.
X [ERROR] Error: throwIfNullOrUndefined:
File System access not available
at Contracts.throwIfNullOrUndefined
(file:///D:/Dicamon/cory/cory-be/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/src/sdk/Contracts.ts:11:19)
at set logPath
(file:///D:/Dicamon/cory/cory-be/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.browser/src/common.browser/ConsoleLoggingListener.ts:22:19)
at Diagnostics2.SetLogOutputPath
(file:///D:/Dicamon/cory/cory-be/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/src/sdk/Diagnostics.ts:39:35)
at SpeechService.speechToText
(file:///D:/Dicamon/cory/cory-be/src/service/speech.service.ts:206:23)
at app.openapi.c.json.message (file:///D:/Dicamon/cory/cory-be/src/index.ts:398:26)
at dispatch (file:///D:/Dicamon/cory/cory-be/node_modules/hono/dist/compose.js:29:23)
at null.<anonymous> (file:///D:/Dicamon/cory/cory-be/node_modules/hono/dist/compose.js:30:20)
at timing2
(file:///D:/Dicamon/cory/cory-be/node_modules/hono/dist/middleware/timing/index.js:28:11)
at dispatch (file:///D:/Dicamon/cory/cory-be/node_modules/hono/dist/compose.js:29:23)
at null.<anonymous> (file:///D:/Dicamon/cory/cory-be/node_modules/hono/dist/compose.js:6:12)
2024-04-10T02:41:32.693Z | RecognitionTriggeredEvent | privName: RecognitionTriggeredEvent | privEventId: AB9EEBF836F644BB960CD0898507DB46 | privEventTime: 2024-04-10T02:41:32.693Z | privEventType: 1 | privMetadata: {} | privRequestId: 486F5D1E168648F082CDFCDF21DA2FAA | privSessionId: <NULL> | privAudioSourceId: 97FD998CE8B643FEB8B589DF8491321D | privAudioNodeId: 4A45AE9DAB28416D845AC2F7D389B819
2024-04-10T02:41:32.696Z | ConnectingToServiceEvent | privName: ConnectingToServiceEvent | privEventId: AB51EDBD6FC44BDBB9AEA221508CD9F2 | privEventTime: 2024-04-10T02:41:32.696Z | privEventType: 1 | privMetadata: {} | privRequestId: 486F5D1E168648F082CDFCDF21DA2FAA | privSessionId: FC5DA4F4CE9A4812BC46800FD6DA7002 | privAuthFetchEventid: 06EE9F9D315F4EACBA791B445F5502F7
2024-04-10T02:41:32.697Z | AudioStreamNodeAttachingEvent | privName: AudioStreamNodeAttachingEvent | privEventId: 9AF876D974834A339754089685A7B576 | privEventTime: 2024-04-10T02:41:32.697Z | privEventType: 1 | privMetadata: {} | privAudioSourceId: 97FD998CE8B643FEB8B589DF8491321D | privAudioNodeId: 4A45AE9DAB28416D845AC2F7D389B819
2024-04-10T02:41:32.698Z | AudioSourceInitializingEvent | privName: AudioSourceInitializingEvent | privEventId: 7667D3B8197C45F2B65A51028AD9EE8C | privEventTime: 2024-04-10T02:41:32.698Z | privEventType: 1 | privMetadata: {} | privAudioSourceId: 97FD998CE8B643FEB8B589DF8491321D
2024-04-10T02:41:32.698Z | AudioSourceReadyEvent | privName: AudioSourceReadyEvent | privEventId: 4C8122D9C3D64F2FAEFAB84B399A6BCB | privEventTime: 2024-04-10T02:41:32.698Z | privEventType: 1 | privMetadata: {} | privAudioSourceId: 97FD998CE8B643FEB8B589DF8491321D
2024-04-10T02:41:32.699Z | AudioStreamNodeAttachedEvent | privName: AudioStreamNodeAttachedEvent | privEventId: F5CB0C07BA0D49649DA20BB7AB576CFA | privEventTime: 2024-04-10T02:41:32.699Z | privEventType: 1 | privMetadata: {} | privAudioSourceId: 97FD998CE8B643FEB8B589DF8491321D | privAudioNodeId: 4A45AE9DAB28416D845AC2F7D389B8192024-04-10T02:41:32.702Z | ConnectionStartEvent | privName: ConnectionStartEvent | privEventId: 5B905977E4574953B4C3BF3A42DCB185 | privEventTime: 2024-04-10T02:41:32.702Z | privEventType: 1 | privMetadata: {} | privConnectionId: FC5DA4F4CE9A4812BC46800FD6DA7002 | privUri: wss://southeastasia.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=en-US&format=simple&endSilenceTimeoutMs=3000&Ocp-Apim-Subscription-Key=97184de55f084905a3471be3cddd7cd6&X-ConnectionId=FC5DA4F4CE9A4812BC46800FD6DA7002 | privHeaders: <NULL>
2024-04-10T02:41:32.703Z | ListeningStartedEvent | privName: ListeningStartedEvent | privEventId: DA15895F421A418FB081E8C1B7D6E1FE | privEventTime: 2024-04-10T02:41:32.703Z | privEventType: 1 | privMetadata: {} | privRequestId: 486F5D1E168648F082CDFCDF21DA2FAA | privSessionId: FC5DA4F4CE9A4812BC46800FD6DA7002 | privAudioSourceId: 97FD998CE8B643FEB8B589DF8491321D | privAudioNodeId: 4A45AE9DAB28416D845AC2F7D389B819
from cognitive-services-speech-sdk-js.
When this.prevSetTimeout in the delay function is called, an error will appear Illegal Invocation
from cognitive-services-speech-sdk-js.
@sonbs21 If you could pull the branch in the PR above and test it with your cloudflare deployment to see that addresses the issue, I'd appreciate it.
from cognitive-services-speech-sdk-js.
I've just tested and it looks like the issue has been resolved. Thank you for you help!😄
from cognitive-services-speech-sdk-js.
Related Issues (20)
- IntentRecognizer - Supporting CLU and simple pattern matching HOT 1
- [Bug]: result.text property set to '.' on recognized event when performing speech translation with Arabic languages. HOT 8
- [Bug]: SpeechConfig.FromEndpoint always cancel the connection with Invalid argument exception HOT 1
- [Bug]: Unable to contact server error causes memory leak HOT 1
- What is ServiceTimeout value and how to modify that? HOT 4
- Missing PronunciationAssessmentGranularity.Syllable HOT 1
- [Bug]: Speaker verification failing with 401 error since version 1.27 HOT 4
- [Bug]:Interim Failed WebSocket connection in Continuous translation HOT 4
- [Bug]: TTS doesn't strip out markdown for English(India) voices - both Prabhat and Neerja. HOT 6
- SDK returns no match, but the online recognizer works. HOT 3
- [Bug]: ErrorType (UnexpectedBreak,MissingBreak) are not receiving in detailResult words from sdk HOT 4
- [Bug]: speakSsmlAsync produces 0 duration audio but result reason is SynthesizingAudioCompleted HOT 1
- [Bug]: Real-Time Speech-to-Text Lag and Synchronization Problems on Low-Power Devices HOT 4
- [Bug]: ConversationTranscriptionResult always return 0 on Channel info HOT 1
- [Bug]: 2 Node [s] with type [Others] should not contain node [voice] with type [Media] HOT 2
- [Bug]: No way to determine when the produced audio has completed HOT 2
- [Bug]: Websocket 404 in Firefox HOT 15
- [Bug]: 3D Blendshape Data Not Generating for Super Realistic Voices HOT 8
- I'm looking for a way to adjust these threshold values depending on the country, but I haven't found any options or settings for that. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cognitive-services-speech-sdk-js.