]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: Allow only single ssrc attribute.
authorJoshua Colp <jcolp@digium.com>
Thu, 21 Feb 2019 18:06:23 +0000 (18:06 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 21 Feb 2019 18:06:23 +0000 (18:06 +0000)
commit0896e4cdc68af29b1dac0019ecd203ddaf23bd06
treeaee6cec85567935ce4648e10dc949600b76e42b3
parent2846b54ee2d520da2392e50b90f432c1b83b1380
res_pjsip_sdp_rtp: Allow only single ssrc attribute.

When processing SSRC attributes we were iterating through
all of them, even though we only need to know the remote
SSRC once. This was problematic because some browsers group
SSRCs together on a stream, and due to our negotiation only
end up using the first one. Since we set the second one as
the remote SSRC we would drop the received media from them
instead of allowing it through.

In the future this may be extended to allow SSRC groups
and to use information from the attributes.

Change-Id: I4dc87087dbe56a83aa65f0f897bbd4ca75ec1270
res/res_pjsip_sdp_rtp.c