# HG changeset patch # User Mychaela Falconia # Date 1720486827 0 # Node ID fc77c348208455f02d940da90ceb476af2d722d2 # Parent e70e7b266f8949c942a3ce0d296ad98a866b04dc add function for sending RTCP RR diff -r e70e7b266f89 -r fc77c3482084 include/endp.h --- a/include/endp.h Mon Jul 08 07:25:19 2024 +0000 +++ b/include/endp.h Tue Jul 09 01:00:27 2024 +0000 @@ -97,3 +97,4 @@ int twrtp_endp_set_sdes(struct twrtp_endp *endp, const char *cname, const char *name, const char *email, const char *phone, const char *loc, const char *tool, const char *note); +int twrtp_endp_send_rtcp_rr(struct twrtp_endp *endp); diff -r e70e7b266f89 -r fc77c3482084 src/rtcp_tx.c --- a/src/rtcp_tx.c Mon Jul 08 07:25:19 2024 +0000 +++ b/src/rtcp_tx.c Tue Jul 09 01:00:27 2024 +0000 @@ -135,3 +135,8 @@ endp->stats.tx_rtcp_pkt++; return 0; } + +int twrtp_endp_send_rtcp_rr(struct twrtp_endp *endp) +{ + return _twrtp_endp_send_rtcp(endp, false, NULL, 0); +}