mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
rtpsession: Add a warning if an empty RTCP packet is tried to be sent
https://bugzilla.gnome.org/show_bug.cgi?id=759119
This commit is contained in:
parent
189c291805
commit
b13b80ea39
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue