sipx-users :
In the sipXtapi's doc, it said that micHook and spkHook functions can't block.
"This callback proc must *NOT* block and must return data quickly.
Additionally, the method should not call any blocking function (i.e. IO
operations, malloc, new, etc)." . Why?
It seems to cause a dead lock?
Then how can I program to hand this situation: I want to receive voice data
from a socket and use them in the MicHook function , while I also want to get
voice data from the SpkHook function and send them to another socket.It seems
recvfrom and sendto are block functions.
Who can give me some advice? Thank you very much.
[EMAIL PROTECTED]
2006-08-21
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/