-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #18 * Implemented new channels playingAudioCh, userBeginSpeakingCh and audioInterruptCh to determine when person began to speak while playing audio, and setting an interrupt flag so the audio stops playing * Implemented new go routine to set this interrupt channel * Changed the sendAudio function to read from the interrupt channel and cut the audio play. Also the sendAudio is executed as a new go routine so it does paralel the play and the audio process from asterisk.
- Loading branch information
1 parent
f2e0c8f
commit b587029
Showing
3 changed files
with
214 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.