diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-05-12 18:03:50 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-05-12 19:56:21 +0200 |
commit | 282aee422f27795a8445c1d78f9463f2a15d0573 (patch) | |
tree | a4a297bc5a7a1db8deaabc03d94f5ec5079983d5 /include | |
parent | d32caea9ea848cb99698dfa6afd785022ac64973 (diff) |
osmux: allow to set initial RTP SSRC
Instead of using the osmuxh->circuit_id.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/netif/osmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |