Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtcp: add printing of TWCC packet #1084

Merged
merged 2 commits into from
Mar 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading