laforge submitted this change.
osmux: Avoid filling in seqnum holes upon rx of RTP pkt with M bit set
Change-Id: I561fb836989d31f43a15b193ed9bec4103ea0f2b
---
M src/osmux_input.c
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/osmux_input.c b/src/osmux_input.c
index 6e6b00d..3e6f4b7 100644
--- a/src/osmux_input.c
+++ b/src/osmux_input.c
@@ -435,6 +435,10 @@
int i, rc;
struct osmux_in_req clone_req;
+ /* If M bit is set, this is a sync point, so any sort of seq jump is expected and has no real meaning. */
+ if (req->rtph->marker)
+ return 0;
+
/* Have we seen any RTP packet in this batch before? */
if (llist_empty(&req->circuit->msg_list))
return 0;
To view, visit change 30195. To unsubscribe, or for help writing mail filters, visit settings.