diff include/endp.h @ 30:9fd693f234f8

definitions for RTCP SDES
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 08 Jul 2024 03:28:38 +0000
parents 3e01a71b7c7c
children aa97e77e7de6
line wrap: on
line diff
--- a/include/endp.h	Mon Jul 08 02:55:32 2024 +0000
+++ b/include/endp.h	Mon Jul 08 03:28:38 2024 +0000
@@ -58,6 +58,9 @@
 	struct twrtp_jibuf_inst *twjit;
 	struct twrtp_endp_rtcp_rx rtcp_rx;
 	struct twrtp_endp_tx tx;
+	uint8_t *sdes_buf;
+	uint16_t sdes_len;
+	uint16_t auto_rtcp_interval;
 	/* always have to have stats */
 	struct twrtp_endp_stats stats;
 	/* bool flags at the end for structure packing optimization */
@@ -83,3 +86,7 @@
 			  unsigned payload_len, uint8_t payload_type,
 			  bool marker, bool auto_marker, bool send_rtcp);
 void twrtp_endp_tx_skip(struct twrtp_endp *endp);
+
+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);