vxi-discuss



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Prompt interface question



Hello,

I have a question on the prompt interface and more particularly on the VXIpromptQueue
API:
the documentation says:
"Queue prompt for playing. This call is non-blocking. By default, a prompt added to an empty
queue starts playing immediately."

I'm wondering why this call is non-blocking ?
In the case the sound file is local, I understand VXIpromptQueue can return a result right away if
there is a problem (e.g."file is not there").
But if the prompt interface uses HTTP or even more elaborate protocols (e.g. RTSP), shouldn't it wait until
no exception is thrown to continue (e.g. there may be a few messages exchanged between the
TTS server and the VXML server until the TTS has started playing the file so we need to block until
then).

Does it make sense ? Can someone help me interpreting the spec on this particular point ?

Thanks in advance,

Vincent
 

 
 
 
 




This page is maintained by Alan W Black (awb@cs.cmu.edu)
speechinfo.org is hosted on a machine donated by VA Linux Systems
VA Linux Systems