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.


_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to