[Bug 746814] rtpsession: Always wait with sending RTCP until we have something to report

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 26 07:10:02 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=746814

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 300356
  --> https://bugzilla.gnome.org/attachment.cgi?id=300356&action=edit
rtpsession: Always wait with sending RTCP until we have something to report

This change should not have any effect at all but makes the code a bit
simpler. There are two cases to consider here:
1) The receiving part of the RTP session will only ever start reporting
something once it received an RTP or RTCP packet. Before that the RTCP sending
thread will not have anything to report anyway. We unlock the RTCP sending
thread once we received the first RTP or RTCP packet.
2) The sending part of the RTP session should only start sending sender
reports once it actually has RTP data to send. Before that all sender
reports are going to be rather useless and just wasting bandwidth. We
unlock the RTCP sending thread once we have the first RTP packet to send.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list