ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] How to block on incoming queue?


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] How to block on incoming queue?
Date: Tue, 23 May 2006 19:45:25 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hi, I guess isPendingData and isPendingControl are the methods you are
looking for. These methods block waiting for available packets on the
data/control reception socket (you can specify a max. timeout). If you
want to somehow modify the service thread behavior, you can inherit
from RTPSession and redefine the run method in rtp.h.

Also, if there are no packet in the incoming queue, getFirstTimestamp
will return 0.

HTH.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]