changeset 34:fc77c3482084

add function for sending RTCP RR
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Jul 2024 01:00:27 +0000
parents e70e7b266f89
children c0ce22777694
files include/endp.h src/rtcp_tx.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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);
+}