<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14567">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/67/14567/1</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/+/14567">change 14567</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/+/14567"/><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-Change-Id: I35bfd533ef1184ffe62586b22bbd253c82872a56 </div>
<div style="display:none"> Gerrit-Change-Number: 14567 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>