From 282aee422f27795a8445c1d78f9463f2a15d0573 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 12 May 2013 18:03:50 +0200 Subject: osmux: allow to set initial RTP SSRC Instead of using the osmuxh->circuit_id. --- include/osmocom/netif/osmux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/osmocom') diff --git a/include/osmocom/netif/osmux.h b/include/osmocom/netif/osmux.h index d50c7d5..9ef79d2 100644 --- a/include/osmocom/netif/osmux.h +++ b/include/osmocom/netif/osmux.h @@ -54,6 +54,7 @@ struct osmux_in_handle { struct osmux_out_handle { uint16_t rtp_seq; uint32_t rtp_timestamp; + uint32_t rtp_ssrc; }; struct osmux_hdr *osmux_get_hdr(struct msgb *msg); @@ -70,7 +71,7 @@ void osmux_xfrm_input_init(struct osmux_in_handle *h); int osmux_xfrm_input(struct osmux_in_handle *h, struct msgb *msg, int ccid); void osmux_xfrm_input_deliver(struct osmux_in_handle *h); -void osmux_xfrm_output_init(struct osmux_out_handle *h); +void osmux_xfrm_output_init(struct osmux_out_handle *h, uint32_t rtp_ssrc); int osmux_xfrm_output(struct osmux_hdr *osmuxh, struct osmux_out_handle *h, struct llist_head *list); struct osmux_hdr *osmux_xfrm_output_pull(struct msgb *msg); -- cgit v1.2.3