|
From: | Yaniv Levy |
Subject: | Re: [Ccrtp-devel] How to block on incoming queue? |
Date: | Tue, 23 May 2006 19:54:17 +0200 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |