Question about stream.c

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

 



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.




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux