<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14591">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Joshua Colp: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_stream_echo: Fix state of added streams.<br><br>When stream support was added to Asterisk the stream state<br>was used inconsistently, resulting in odd behavior. This<br>was then standardized to be the state of a stream from the<br>perspective of Asterisk.<br><br>This change updates the StreamEcho dialplan application<br>to use the correct state, send only, since we are only<br>sending to the endpoint and not expecting them to send us<br>multiple video streams.<br><br>ASTERISK-28954<br><br>Change-Id: I35bfd533ef1184ffe62586b22bbd253c82872a56<br>---<br>M apps/app_stream_echo.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_stream_echo.c b/apps/app_stream_echo.c</span><br><span>index 717ed1c..669f92e 100644</span><br><span>--- a/apps/app_stream_echo.c</span><br><span>+++ b/apps/app_stream_echo.c</span><br><span>@@ -274,7 +274,7 @@</span><br><span>                         * cloning the same stream.</span><br><span>                   */</span><br><span>                  ast_stream_set_state(stream, n == num ?</span><br><span style="color: hsl(0, 100%, 40%);">-                      AST_STREAM_STATE_SENDRECV : AST_STREAM_STATE_RECVONLY);</span><br><span style="color: hsl(120, 100%, 40%);">+                       AST_STREAM_STATE_SENDRECV : AST_STREAM_STATE_SENDONLY);</span><br><span>                 } while (--n);</span><br><span>       }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14591">change 14591</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/c/asterisk/+/14591"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 17 </div>
<div style="display:none"> Gerrit-Change-Id: I35bfd533ef1184ffe62586b22bbd253c82872a56 </div>
<div style="display:none"> Gerrit-Change-Number: 14591 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>