diff src/rtp_tx.c @ 28:defe58aa537c

RTP Tx: count stats for RTCP SR
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 08 Jul 2024 01:59:49 +0000
parents a0b89c028053
children e70e7b266f89
line wrap: on
line diff
--- a/src/rtp_tx.c	Sun Jul 07 18:39:24 2024 +0000
+++ b/src/rtp_tx.c	Mon Jul 08 01:59:49 2024 +0000
@@ -91,6 +91,8 @@
 		msgb_free(msg);
 		return rc;
 	}
+	endp->stats.tx_rtp_pkt++;
+	endp->stats.tx_rtp_bytes += payload_len;
 
 	/* TODO: send RTCP if requested */