[PATCH] libosmo-abis[master]: Resync RTP session in case of timestamp jump

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 7 14:28:57 UTC 2016


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

Resync RTP session in case of timestamp jump

Change-Id: Iae5da832218dbd1ede7a9451102074f2a5eb66df
---
M src/trau/osmo_ortp.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/28/1028/1

diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 5441337..68db5da 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -139,7 +139,8 @@
 	uint32_t ts = rtp_session_get_current_recv_ts(rs);
 
 	LOGP(DLMIB, LOGL_NOTICE,
-	     "osmo-ortp(%d): timestamp_jump, new TS %d\n", port, ts);
+	     "osmo-ortp(%d): timestamp_jump, new TS %d, resyncing\n", port, ts);
+	rtp_session_resync(rs);
 }
 
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae5da832218dbd1ede7a9451102074f2a5eb66df
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list