<p>Joshua C. Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/11005">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, but someone else must approve
Sean Bright: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved
Joshua C. Colp: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res/res_rtp_asterisk: clear smoother when local bridging<br><br>p2p_write updates txformat but doesn't require a smoother. If a smoother<br>was created by another bridge type the smoother could fall out of date causing<br>one way audio issues. To prevent this the smoother is now destroyed on the<br>start of native bridge.<br><br>ASTERISK-28284 #close<br><br>Change-Id: I84e67f144963787fff9b4d79ac500514fb40cdc6<br>---<br>M res/res_rtp_asterisk.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c</span><br><span>index 9e603f2..c206497 100644</span><br><span>--- a/res/res_rtp_asterisk.c</span><br><span>+++ b/res/res_rtp_asterisk.c</span><br><span>@@ -7480,6 +7480,10 @@</span><br><span> </span><br><span> ao2_lock(instance0);</span><br><span> ast_set_flag(rtp, FLAG_NEED_MARKER_BIT | FLAG_REQ_LOCAL_BRIDGE_BIT);</span><br><span style="color: hsl(120, 100%, 40%);">+ if (rtp->smoother) {</span><br><span style="color: hsl(120, 100%, 40%);">+ ast_smoother_free(rtp->smoother);</span><br><span style="color: hsl(120, 100%, 40%);">+ rtp->smoother = NULL;</span><br><span style="color: hsl(120, 100%, 40%);">+ }</span><br><span> ao2_unlock(instance0);</span><br><span> </span><br><span> return 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/11005">change 11005</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/11005"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I84e67f144963787fff9b4d79ac500514fb40cdc6 </div>
<div style="display:none"> Gerrit-Change-Number: 11005 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Torrey Searle <tsearle@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua C. Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>