rtpsession: fix Early Feedback Transmission
authorMiguel París Díaz <mparisdiaz@gmail.com>
Fri, 10 Oct 2014 17:50:06 +0000 (19:50 +0200)
committerWim Taymans <wtaymans@redhat.com>
Wed, 22 Oct 2014 11:13:47 +0000 (13:13 +0200)
commite6504e3a65e2c99a7722bf3f396cc1b41917d65c
treec64e03e6d280c8bd463c4bf8685f964268932375
parent59b2f6e895d74fc27aea267fa93b01b199c797c0
rtpsession: fix Early Feedback Transmission

In early retransmission we are allowed to schedule 1 regular RTCP packet
at an earlier time. When we do that, we need to set allow_early to FALSE
and ignore/drop (or merge) all future requests for early transmission.
We now first check if we can schedule an early RTCP and if we can,
actually prepare the data for the next RTCP interval.

After we send the next regular RTCP after the early RTCP, we set
allow_early to TRUE again to allow more early requests.

Remove the condition for the immediate feedback for now.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=738319
gst/rtpmanager/rtpsession.c
gst/rtpmanager/rtpsession.h