Skip to content

Commit

Permalink
rtcp: add printing of TWCC packet (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Mar 16, 2024
1 parent 836ebd1 commit 0b19edd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/rtp/rtcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,21 @@ int rtcp_msg_print(struct re_printf *pf, const struct rtcp_msg *msg)
msg->r.fb.fci.gnackv[i].blp);
}
}
else if (msg->hdr.count == RTCP_RTPFB_TWCC) {
const struct twcc *twcc = msg->r.fb.fci.twccv;

err |= re_hprintf(pf,
" TWCC"
" base_seq=%u"
" pkt_status_count=%u"
" ref_time=%u"
" fb_pkt_count=%u"
,
twcc->seq,
twcc->count,
twcc->reftime,
twcc->fbcount);
}
break;

case RTCP_PSFB:
Expand Down

0 comments on commit 0b19edd

Please sign in to comment.