Skip to content

Commit

Permalink
rtcp: add printing of TWCC packet
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Mar 14, 2024
1 parent c595d66 commit a9eda7a
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 a9eda7a

Please sign in to comment.