From 5fb9ee538c904f0be9c45a0e64be219a5b128b2c Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 25 Oct 2021 14:13:43 -0400 Subject: [PATCH] TT#109800 fix output seq num bug Change-Id: I68bc61982806ba1a48931030fdee26bcd75f1858 --- daemon/codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/codec.c b/daemon/codec.c index 4c944549f..14d8b8852 100644 --- a/daemon/codec.c +++ b/daemon/codec.c @@ -2580,7 +2580,7 @@ static void __dtx_send_later(struct timerthread_queue *ttq, void *p) { ilogs(dtx, LOG_DEBUG, "RTP media for TS %lu missing, triggering DTX", ts); // synthetic packet - mp_copy.rtp->seq_num += htons(1); + mp_copy.rtp->seq_num = htons(ntohs(mp_copy.rtp->seq_num) + 1); ret = decoder_dtx(ch->decoder, ts, ptime, ch->handler->packet_decoded, ch, &mp_copy);