How to isolate SSRC values on each leg

30 views
Skip to first unread message

Diogo Figueiredo

unread,
Oct 16, 2025, 11:49:08 AMOct 16
to Sipwise rtpengine
Hi,

I came across a weird behaviour where a UA changes SSRC in the middle of an already established audio stream, the problem is that the other UA is very sensitive to these kinds of changes and I end up having one way audio. I was hoping that there would be a way in RTPEngine to pin SSRC values on either side, rewriting them if needed to avoid such issues. Is this possible?

Best Regards,
Diogo Figueiredo

Richard Fuchs

unread,
Oct 17, 2025, 7:36:28 AMOct 17
to rtpe...@googlegroups.com
That's not really a feature we have. We do support SSRC rewriting, but
it's done as a 1-to-1 mapping, i.e. if there are two SSRCs incoming then
you will get two (different) SSRCs outgoing.

There is a technical complication to what you're asking for, which is
that merging two SSRCs into one also necessarily requires merging the
sequence numbers and the timestamps, as well as information contained in
RTCP reports. So it's not entirely trivial.

You can probably achieve a similar result by enabling the "audio player"
feature, which consumes all received audio and produces a single
consistent output RTP stream. However this requires decoding and
re-encoding all audio, plus the added scheduling overhead, so the extra
CPU cost might be an issue.

Cheers

Reply all
Reply to author
Forward
0 new messages