pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-netif/+/30170 )
Change subject: osmux: Drop marker bit in forged RTP packets to fill gaps
......................................................................
osmux: Drop marker bit in forged RTP packets to fill gaps
If the last RTP we received from the user is a Marker bit (which is
expected to be the first in the batch), then there's no need to keep
marking the forged RTP packets to fill holes also as Marker bit.
Change-Id: I5cef6185afbfce748473a096e8ebabd9c9628e12
---
M src/osmux_input.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/70/30170/1
diff --git a/src/osmux_input.c b/src/osmux_input.c
index cbb85d0..9e625be 100644
--- a/src/osmux_input.c
+++ b/src/osmux_input.c
@@ -402,7 +402,8 @@
/* The original RTP message has been already sanity checked. */
rtph = osmo_rtp_get_hdr(clone);
-
+ /* Faking a follow up RTP pkt here, so no Marker bit: */
+ rtph->marker = false;
/* Adjust sequence number and timestamp */
rtph->sequence = htons(ntohs(rtph->sequence) + i);
rtph->timestamp = htonl(ntohl(rtph->timestamp) +
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-netif/+/30170
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: I5cef6185afbfce748473a096e8ebabd9c9628e12
Gerrit-Change-Number: 30170
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange