<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/7883">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_session: Always bundle streams if WebRTC is enabled.<br><br>Some WebRTC clients can't handle renegotiation with the addition of<br>streams that include an offer to bundle. They instead expect the<br>newly added streams to already be bundled. This change does such a thing<br>if WebRTC support is enabled on an endpoint.<br><br>ASTERISK-27566<br><br>Change-Id: I7fe9b7ac35a2798627d9c2c8369129f407af6461<br>---<br>M res/res_pjsip_session.c<br>1 file changed, 6 insertions(+), 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/83/7883/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c<br>index c339382..53f60cc 100644<br>--- a/res/res_pjsip_session.c<br>+++ b/res/res_pjsip_session.c<br>@@ -456,6 +456,12 @@<br> return NULL;<br> }<br> session_media->bundle_group = 0;<br>+<br>+ /* Some WebRTC clients can't handle an offer to bundle media streams. Instead they expect them to<br>+ * already be bundled. Every client handles this scenario though so if WebRTC is enabled just go<br>+ * ahead and treat the streams as having already been bundled.<br>+ */<br>+ session_media->bundled = session->endpoint->media.webrtc;<br> } else {<br> session_media->bundle_group = -1;<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7883">change 7883</a>. To unsubscribe, 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/7883"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7fe9b7ac35a2798627d9c2c8369129f407af6461 </div>
<div style="display:none"> Gerrit-Change-Number: 7883 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>