Use the entry's queue time rather than calling currentTimeMillis() again

This commit is contained in:
Cameron Gutman 2014-10-10 18:21:41 -07:00
parent ac6120adc4
commit f004ae6a41

View File

@ -63,7 +63,7 @@ public class RtpReorderQueue {
entry.sequenceNumber = seq; entry.sequenceNumber = seq;
if (oldestQueuedTime == Long.MAX_VALUE) { if (oldestQueuedTime == Long.MAX_VALUE) {
oldestQueuedTime = System.currentTimeMillis(); oldestQueuedTime = entry.queueTime;
} }
if (head) { if (head) {