[unispeech/asterisk-unimrcp] 0f0178: If channel state is not SPEECH_CHANNEL_READY, wait...

Skip to first unread message

Arsen Chaloyan

Oct 7, 2022, 7:16:24 PM10/7/22
to unimrcp...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/unispeech/asterisk-unimrcp
Commit: 0f01781a28f61e95bebac676e474c2db110fd195
Author: Arsen Chaloyan <acha...@gmail.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)

Changed paths:
M app-unimrcp/app_mrcprecog.c
M app-unimrcp/app_mrcpsynth.c
M app-unimrcp/app_synthandrecog.c

Log Message:
If channel state is not SPEECH_CHANNEL_READY, wait for completion of the previous request before proceeding the new one

This change applies only to the cases with the following conditions met:
* persistent MRCP session is used for consecutive request
* previous request is stopped (for example, SPEAK request is stopped due to barge-in)
* response to the STOP request arrives later than the next SPEAK request is attempted

Reply all
Reply to author
0 new messages