Skip to content

Commit

Permalink
Fixed missing SSRC in AudioBridge forwarders when not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Dec 3, 2024
1 parent 623e567 commit c08c219
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/janus_audiobridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c08c219

Please sign in to comment.