Skip to content
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

v1.9.0 breaks microphone support #125

Closed
alopix opened this issue Jan 24, 2020 · 2 comments
Closed

v1.9.0 breaks microphone support #125

alopix opened this issue Jan 24, 2020 · 2 comments

Comments

@alopix
Copy link

alopix commented Jan 24, 2020

Use AudioConfig.fromDefaultMicrophoneInput() as the audio config for a connection and try listening once. It will crash with something like

Error: Uncaught [TypeError: Cannot read property 'send' of undefined]
        at reportException (…/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:62:24)
        at Timeout.callback [as _onTimeout] (…/node_modules/jsdom/lib/jsdom/browser/Window.js:645:7)
        at ontimeout (timers.js:436:11)
        at tryOnTimeout (timers.js:300:5)
        at listOnTimeout (timers.js:263:5)
        at Timer.processTimers (timers.js:223:10) TypeError: Cannot read property 'send' of undefined
        at …/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/src/common.speech/DialogServiceAdapter.ts:460:83
        at Timeout.callback [as _onTimeout] (…/node_modules/jsdom/lib/jsdom/browser/Window.js:643:19)
        at ontimeout (timers.js:436:11)
        at tryOnTimeout (timers.js:300:5)
        at listOnTimeout (timers.js:263:5)
        at Timer.processTimers (timers.js:223:10)

Works fine in v1.8.1 but is broken in the recently released v1.9.0.

@rhurey
Copy link
Member

rhurey commented Jan 28, 2020

I believe the PR #126 addresses this.

@rhurey
Copy link
Member

rhurey commented Feb 3, 2020

@rhurey rhurey closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants