diff src/endp_create.c @ 24:84d427017d2f

endp: implement RTP Tx
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Jul 2024 07:33:48 +0000
parents b8cb5146e5b4
children
line wrap: on
line diff
--- a/src/endp_create.c	Sun Jul 07 06:27:56 2024 +0000
+++ b/src/endp_create.c	Sun Jul 07 07:33:48 2024 +0000
@@ -4,7 +4,7 @@
 
 #include <stdint.h>
 #include <stdbool.h>
-#include <string.h>
+#include <stdlib.h>
 
 #include <osmocom/core/talloc.h>
 #include <osmocom/core/osmo_io.h>
@@ -48,6 +48,7 @@
 		return NULL;
 	}
 
+	endp->tx.ssrc = random();
 	return endp;
 }