Is it possible to change speech recognition parameters in "Recognizing" or "Recognized" handlers?
Hi I'm having the callbacks for Recognizing and Recognized handlers for the speech recognition, also, I have keyword recognition and continues recognition. Is there a possibility to update recognition parameters in those callbacks? Use case scenario is for example when keyword is detected I want to be able to make some longer pause (3-4 seconds) after keyword then continue to speak and recognizer should recognize it. After I start talking (after keyword) I don't want to have the same pause after my last word before recognition is over. I was trying to achieve this by stopping the recognition inside Recognized handler, updating the parameter PropertyId::Speech_SegmentationSilenceTimeoutMs
and resuming the recognition when I get response in handler:
ResultReason::RecognizedKeyword
I've tried to use this for updating parameters https://learn.microsoft.com/en-us/answers/questions/1643265/how-to-change-speech-recognition-configuration-aft but I assume that there is some better way of achieving this. Is there any integrated way in speech SDK to achieve this?
Thanks!