Thanks for your response, Hector!
Yeah, I am using detect_speech via a similar way to yours.
What I am more interested in is to use detect_speech app to handle user's barge-in.
After Chris mentioned the barge-in can be also handled by detect_speech I gave it a further thinking.
Yeah, I could first "speak" the utterance and immediately resume ASR, then try to catch the begin_speaking event,
then stop the TTS -- using this way to handle the user barge-in.
(Chris, you may have a better idea, would you please let me know if you do?)
One thing I am worry about is that stopping currently playing media or utterance seems not work for me.
When I recently try "api uuid_break <uuid>" it stopped currently playing music but also stopped playing following utterances
which I sent to TTS soon later on after uuid_break.
Anyway I will try it further again and let you all know what I will get.
Cheers,