]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridges/bridge_softmix: Remove SSRC changes on join/leave; update video source 04/4304/1
authorMatt Jordan <mjordan@digium.com>
Fri, 4 Nov 2016 20:33:35 +0000 (15:33 -0500)
committerMatt Jordan <mjordan@digium.com>
Fri, 4 Nov 2016 20:47:20 +0000 (15:47 -0500)
commitff96e3750996cb576f1253b3ee25074c2ea18e00
tree308f2b13d0c724a77e00b36b63ffcd7177a8b23c
parent201f21e0e567c53c51601d5903999f538ce84178
bridges/bridge_softmix: Remove SSRC changes on join/leave; update video source

WebRTC clients really, really want to know the SSRC of the media they're
getting. Changing the SSRC is generally not a good thing.

bridge_softmix, starting in Asterisk 12, started changing the SSRC of
parties as they joined or left the bridge. With most phones, this isn't
a problem: phones just play back the stream they're getting. With WebRTC
clients, however, the SSRC is tied to a media stream that may be
negotiated. When a new SSRC just shows up, the media can be dropped.

As it turns out, the SSRC change shouldn't even be necessary. From the
perspective of the client, it's still talking to Asterisk with the same
media stream: why indicate that the far party has suddenly changed to a
different source of media?

This patch opts to just remove the SSRC changes. With this patch, video
clients that join/leave a softmix bridge actually get the video stream
instead of freaking out.

ASTERISK-26555

Change-Id: I27fec098b32e7c8718b4b65f3fd5fa73527968bf
bridges/bridge_softmix.c