<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/8782">View Change</a></p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p>(4 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/8782/1/bridges/bridge_softmix.c">File bridges/bridge_softmix.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8782/1/bridges/bridge_softmix.c@1156">Patch Set #1, Line 1156:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> if (!bridge->softmix.video_mode.mode_data.sfu_data.video_update_discard ||<br> ast_tvdiff_ms(ast_tvnow(), softmix_data->last_video_update) > bridge->softmix.video_mode.mode_data.sfu_data.video_update_discard) {<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Moving video_update_discard into this new location requires a check that we are in SFU mode before accessing. This new location is held within a union and not a struct.</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8782/1/bridges/bridge_softmix.c@1191">Patch Set #1, Line 1191:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> if (frame->subclass.integer != AST_RTP_RTCP_PSFB || feedback->fmt != AST_RTP_RTCP_FMT_REMB ||<br> !bridge->softmix.video_mode.mode_data.sfu_data.remb_send_interval) {<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Need to check that we are in SFU mode before accessing remb_send_interval.</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8782/1/bridges/bridge_softmix.c@1629">Patch Set #1, Line 1629:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> if (bridge->softmix.video_mode.mode_data.sfu_data.remb_send_interval &&<br> ast_tvdiff_ms(ast_tvnow(), softmix_data->last_remb_update) > bridge->softmix.video_mode.mode_data.sfu_data.remb_send_interval) {<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Need check that we are in SFU mode before accessing remb_send_interval.</p></li></ul></li><li><p><a href="https://gerrit.asterisk.org/#/c/8782/1/include/asterisk/bridge.h">File include/asterisk/bridge.h:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/8782/1/include/asterisk/bridge.h@141">Patch Set #1, Line 141:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> /*! The minimum interval between video updates */<br> unsigned int video_update_discard;<br> /*! The interval at which a REMB report is generated and sent */<br> unsigned int remb_send_interval;<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Moving video_update_discard will affect ABI by shifting struct ast_bridge member offsets in released v15 versions.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Moving remb_send_interval into here actually fixes ABI shifging caused by adding remb_send_interval since it has not made it to a release yet.</p><p style="white-space: pre-wrap; word-wrap: break-word;">How concerned are we about this ABI breakage?</p><p style="white-space: pre-wrap; word-wrap: break-word;">Actually moving video_update_discard is not good because it could be accessed when not in SFU mode by an AST_CONTROL_VIDUPDATE frame.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/8782">change 8782</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/8782"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I9eafe4e7c1f72d67074a8d6acb26bfcf19322b66 </div>
<div style="display:none"> Gerrit-Change-Number: 8782 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 16 Apr 2018 20:12:32 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>