rtpsession: fix Early Feedback Transmission
Submitted by Miguel París Díaz
Created attachment 288248
First patch to fix the problem
My work team and I have detected a problem which causes that a lot of NACK packets are sent when the limit of the network bandwidth is reached.
The NACK requests are caused because the jitterbuffer is requesting a lot of retransmissions. This behaviour is a bug related with:
Moreover, we have detected a bug in the implementation of the Early Feedback Transmission (RTCP) which must follow this part of the RFC: http://tools.ietf.org/html/rfc4585#section-3.5.2
The current implementation does not do Part 6, so a lot of early RTCP pakets are sent. We propose an initial patch which is closer to the RFC, but it does not follow "MUST recalculate tn = tp + 2*T_rr, and MUST set tp to the previous tn" yet.
Patch 288248, "First patch to fix the problem":