-
Notifications
You must be signed in to change notification settings - Fork 79
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
Sonus.pause(sonus) and Sonus.resume(sonus) #95
Comments
Just took a quick look at this, looks like this is a bug that was introduced in the most recent version. I'll take a stab at fixing it this weekend and publishing a fix. Thanks for reporting this! |
Seems like it is still ongoing (for me at least)... A solution/workaround would be appreciated, but personally I am not in any hurry ;) |
Oof, this fell off my radar, sorry! Will attempt to fix asap. |
No need to apologize, instead I should say thanks for this wonderful module. P.S. feel free to ask for more information if you need any |
Immediate solution is to comment out https://github.com/evancohen/sonus/blob/master/index.js#L140-L146 in your They just pushed a new version of that library that supports this functionality, so I'm going to go ahead and update everything to use that instead. |
So I have a working version with the new recording library, but it didn't match well with the current implementation. I'm not thrilled with the results. I'm going to do a refactor, but I've pushed the changes as-is to the To use this version just
|
I have just ran
However, I am still receiving the same error as before:
Is it possible that some dependency requires separate updating? edit: |
Any update on this? It seems that the "node-record-lpcm16" version used by Sonus ("^0.3.1") doesn't support Pause/Resume until version "1.0.0". Attempted to rectify the issue by using "npm install sonus@next" but was unsuccessful. |
I won't be able to look at this until over the holidays, but hopefully I can figure something out on vacation next week. |
I gave it a go and managed to have some success. I tested it on a Raspberry Pi and it seemed to be working. |
Hi ! |
I've created a socket.io mechanism to talk the background sonus process to allow it to reliquish the microphone. for alex and google assistant, think of the multi-turn dialog for creating a calendar entry |
I've read previous issues but haven't been able to get anything clear.When I try to pause or resume sonus with Sonus.pause(sonus). I get this error.
I've tried too stoping it and restarting it but then I get the
That I saw some people get too.
Anybody was able to get any workaround to pause sonus and resume it?
The text was updated successfully, but these errors were encountered: