From c08c21936988f2ad986ea55f39adec9342cf6a96 Mon Sep 17 00:00:00 2001 From: Lorenzo Miniero Date: Tue, 3 Dec 2024 16:38:21 +0100 Subject: [PATCH] Fixed missing SSRC in AudioBridge forwarders when not specified --- src/plugins/janus_audiobridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/janus_audiobridge.c b/src/plugins/janus_audiobridge.c index 1f30cf8abf..f1797f4a2a 100644 --- a/src/plugins/janus_audiobridge.c +++ b/src/plugins/janus_audiobridge.c @@ -8808,6 +8808,7 @@ static void *janus_audiobridge_mixer_thread(void *data) { length = 160; } /* Update header */ + rtph->ssrc = htonl(rf->stream_id); rfm->seq_number++; rtph->seq_number = htons(rfm->seq_number); rfm->timestamp += (rfm->codec == JANUS_AUDIOCODEC_OPUS ? OPUS_SAMPLES : G711_SAMPLES);