[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ccrtp-devel] Timeouts
From: |
Michel de Boer |
Subject: |
Re: [Ccrtp-devel] Timeouts |
Date: |
Sat, 22 Jan 2005 23:56:00 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
Dan,
With the putData method you deliver data and a timestamp to the ccRTP stack.
The ccRTP stack has its own clock. If timestamp of the data you deliverd is
too old compared to this clock then ccRTP will not send out the data in
an RTP packet
anymore, but discard it. The timeout value that you pass to
setEpireTimeout determines
how old a packet maybe before it is considered too old.
I use the setExpireTimeout to increase the default value when I want to
send out DTMF events. For DTMF events all RTP packets have the same
timestamp during the duration of the event. so compared to the clock the
RTP packets after the first packet (or 2) are too old and will be
discared with the
default setting for the timeout (it took me quite a while before I
understood why
my DTMF event RTP packets were not sent).
I don't know about setSessionTimeout.
I am not an author of ccRTP. I only write what I have found out while using
ccRTP myself.
Regards,
Michel
Dan Weber wrote:
What do setSessionTimeout and setExpireTimeout of RtpSession do?
Dan
_______________________________________________
Ccrtp-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/ccrtp-devel