changeset 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 3e01a71b7c7c
files src/rtp_tx.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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 */