I agree, I changed it in in trunk.  Thanks.



2008/8/7 Vassil Panayotov <vd.panayotov@gmail.com>
Hi list,

I asked Anthony about this in IRC, but he seemed to be quite busy at cluecon and I really don't understand how this works.

If I understand correctly, the function stfu_n_measure_interval tries to estimate what the difference between timestamps of two consecutive RTP packets should be and records the frequency of occurrence? I don't understand the following(stfu.c:128) :

if (track[index] > most) {
            most = index;
        }

What is the point of comparing the frequency of occurrence with an index? Maybe it should be:

 if (track[index] > track[most]) {
            most = index;
        }

Best regards.
Vassil

_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400