Benny Prijono wrote: > Hi Michael, > > I've got to say that the scenario looks valid, rather unfortunately. I > haven't had idea on how to solve it though. > > cheers, > -benny > > > It seems like what you would want to happen is: 1. pause the stream. 2. wait until you know for sure that the stream is paused. 3. destroy the stream. The code for steps 1 and 3 are already in place. Step 2 is the challenging part, but at least pjmedia_stream_destroy is allowed to block. This would be much less fun to fix if that was not the case. -- Michael Broughton, Advanis Unintended Recipient & Unauthorized Use of E-Mail: This message and attachments may contain confidential or privileged information that is intended only for the named recipient of this e-mail. Any unauthorized use or distribution is not permitted. If you have received this e-mail in error, deleting the e-mail and notifying the sender would be appreciated. Thank you.