Commit 70f1a04f authored by Marian Ďurkovič's avatar Marian Ďurkovič Committed by Rémi Denis-Courmont

Report RTP packet loss and make PIM Asserts only a debug event

(Closes: #2718)
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <>
parent 7058cb6f
......@@ -383,11 +383,12 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src)
if (delta_seq != 0)
if (delta_seq >= 0x8000)
{ /* Unrecoverable if later packets have already been dequeued */
msg_Warn (demux, "ignoring late packet (sequence: %"PRIu16")",
{ /* Trash too late packets (and PIM Assert duplicates) */
msg_Dbg (demux, "ignoring late packet (sequence: %"PRIu16")",
rtp_seq (block));
goto drop;
msg_Warn (demux, "%"PRIu16" packet(s) lost", delta_seq);
src->last_seq = rtp_seq (block);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment