<p>Joshua C. Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/11030">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_sdp_rtp: Allow only single ssrc attribute.<br><br>When processing SSRC attributes we were iterating through<br>all of them, even though we only need to know the remote<br>SSRC once. This was problematic because some browsers group<br>SSRCs together on a stream, and due to our negotiation only<br>end up using the first one. Since we set the second one as<br>the remote SSRC we would drop the received media from them<br>instead of allowing it through.<br><br>In the future this may be extended to allow SSRC groups<br>and to use information from the attributes.<br><br>Change-Id: I4dc87087dbe56a83aa65f0f897bbd4ca75ec1270<br>---<br>M res/res_pjsip_sdp_rtp.c<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/30/11030/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c</span><br><span>index c2b7d67..9686960 100644</span><br><span>--- a/res/res_pjsip_sdp_rtp.c</span><br><span>+++ b/res/res_pjsip_sdp_rtp.c</span><br><span>@@ -1127,6 +1127,7 @@</span><br><span>               }</span><br><span> </span><br><span>                ast_rtp_instance_set_remote_ssrc(session_media->rtp, ssrc);</span><br><span style="color: hsl(120, 100%, 40%);">+                break;</span><br><span>       }</span><br><span> }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/11030">change 11030</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/11030"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4dc87087dbe56a83aa65f0f897bbd4ca75ec1270 </div>
<div style="display:none"> Gerrit-Change-Number: 11030 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua C. Colp <jcolp@digium.com> </div>