[Live-devel] Simulate Packet loss

Antonella Rizzo anto.rizzo at caramail.com
Tue Dec 9 08:01:54 PST 2008


Hi Ross,
in MultiFramedRTPSource.cpp there is:
#ifdef TEST_LOSS
    source->setPacketReorderingThresholdTime(0);
       // don't wait for 'lost' packets to arrive out-of-order later
    if ((our_random()%10) == 0) break; // simulate 10% packet loss
#endif

I do not understand what it means simulate 10% packet loss, because analyzing the QoS I see that the loss of packages below the value that you set here. Why?


Regards


More information about the live-devel mailing list