[Freeswitch-dev] Generic Question on switch_rtp.c and STFU
Erwin Davis
davis.erwin at gmail.com
Fri Dec 25 12:54:57 PST 2009
Hi, I have a question on the time period when stfu_read_a_frame(), which
reads a frame from a jiffer buffer within an interval T1, is called.
Ideally the frames in the jitter buffer are transmitted within interval T1
to avoid the jitter. However, if I understand the code correctly, the
interval is determined by the latency between two read_pollfd triggering
instead of T1. The reason is that, at switch_rtp.c, Proc stfu_read_a_frame()
is called by read_rtp_packet() which is called when read_pollfd is
triggered. However, If I understand correctly, read_pollfd is triggeredd
only when there is something on the sockets. For example, if the latency of
two read_pollfd triggerings is 50 ms, the actual transmit of next new frame
from the jitter buffer should be 50 ms delay instead of T1. Please correct
me if I am missing something. Thanks,
Regards,
e
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091225/03683d72/attachment.html
More information about the FreeSWITCH-dev
mailing list