This should allow people to debug when TWCC feedback is not enabled
because they haven't set the extmap in the caps.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1952>
return;
}
+ GST_DEBUG ("generating TWCC feedback for source %08x", source->ssrc);
+
while ((buf = rtp_twcc_manager_get_feedback (sess->twcc, source->ssrc))) {
ReportOutput *output = g_slice_new (ReportOutput);
output->source = g_object_ref (source);
gint32 val = -1;
gpointer data;
- if (twcc->recv_ext_id == 0)
+ if (twcc->recv_ext_id == 0) {
+ GST_DEBUG ("Received TWCC packet, but no extension registered; ignoring");
return val;
+ }
if (_get_twcc_seqnum_data (pinfo, twcc->recv_ext_id, &data)) {
val = GST_READ_UINT16_BE (data);