[PATCH] osmo-bts[master]: Extend RTP RX callback parameters

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Fri Oct 21 17:54:43 UTC 2016


Review at  https://gerrit.osmocom.org/1147

Extend RTP RX callback parameters

Adopt to change in libosmo-abis to accept additional parameters in RTP
RX callback function.

Change-Id: Icf41e568f041e87b38e6192af0be90c42362bfee
---
M include/osmo-bts/l1sap.h
M src/common/l1sap.c
2 files changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/47/1147/1

diff --git a/include/osmo-bts/l1sap.h b/include/osmo-bts/l1sap.h
index 77bfbaa..97a2f04 100644
--- a/include/osmo-bts/l1sap.h
+++ b/include/osmo-bts/l1sap.h
@@ -63,7 +63,8 @@
 
 /* call-back function for incoming RTP */
 void l1sap_rtp_rx_cb(struct osmo_rtp_socket *rs, const uint8_t *rtp_pl,
-		     unsigned int rtp_pl_len, bool marker);
+		     unsigned int rtp_pl_len, uint16_t seq_number,
+		     uint32_t timestamp, bool marker);
 
 /* channel control */
 int l1sap_chan_act(struct gsm_bts_trx *trx, uint8_t chan_nr, struct tlv_parsed *tp);
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 59866a2..13d8a94 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1060,7 +1060,8 @@
 
 /*! \brief call-back function for incoming RTP */
 void l1sap_rtp_rx_cb(struct osmo_rtp_socket *rs, const uint8_t *rtp_pl,
-                     unsigned int rtp_pl_len, bool marker)
+                     unsigned int rtp_pl_len, uint16_t seq_number,
+		     uint32_t timestamp, bool marker)
 {
 	struct gsm_lchan *lchan = rs->priv;
 	struct msgb *msg, *tmp;

-- 
To view, visit https://gerrit.osmocom.org/1147
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf41e568f041e87b38e6192af0be90c42362bfee
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list