diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-05-17 17:11:02 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-05-17 17:12:56 +0200 |
commit | f0f1ebf70ea2222f97bb7445805ec7466dbcd22e (patch) | |
tree | 5387a63bfd17c422796183c41d44b700b885a07a /tests/osmo-pcap-test | |
parent | fd339712c4bc79e60e257f563771470a5214fbd6 (diff) |
osmux: Extend osmux_out_handle and add new API to set rtp payload_type
Previously payload_type was always hardcoded to 98 for generated rtp
packets from incoming osmux frame.
Change-Id: I5cbeb494a8932953d9fd2dc24dacf8cd97fd84e4
Diffstat (limited to 'tests/osmo-pcap-test')
-rw-r--r-- | tests/osmo-pcap-test/osmux_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/osmo-pcap-test/osmux_test.c b/tests/osmo-pcap-test/osmux_test.c index 7ec78a0..9163753 100644 --- a/tests/osmo-pcap-test/osmux_test.c +++ b/tests/osmo-pcap-test/osmux_test.c @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) osmo_pcap.timer.cb = osmo_pcap_pkt_timer_cb; osmux_xfrm_input_init(&h_input); - osmux_xfrm_output_init(&h_output); + osmux_xfrm_output_init2(&h_output, 0, 98); osmux_xfrm_output_set_tx_cb(&h_output, tx_cb, NULL); /* first run */ |