Commit b13b80ea authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

rtpsession: Add a warning if an empty RTCP packet is tried to be sent
parent 189c2918
......@@ -4036,6 +4036,9 @@ done:
empty_buffer = gst_buffer_get_size (buffer) == 0;
if (empty_buffer)
g_warning ("rtpsession: Trying to send an empty RTCP packet");
if (sess->callbacks.send_rtcp &&
!empty_buffer && (do_not_suppress || !data.may_suppress)) {
guint packet_size;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment