<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5938">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_pjsip: send indication for a video refresh for h264<br><br>When needed chan_pjsip was sending a video refresh request for vp8, but not<br>h264. When using h264 this would sometimes cause the video to be absent. A<br>request is now sent for h264 as well.<br><br>ASTERISK-27098 #close<br><br>Change-Id: If96c4fe319442bf58c68f0dbbd25dae2f7b509b9<br>---<br>M channels/chan_pjsip.c<br>1 file changed, 3 insertions(+), 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/38/5938/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c<br>index f565ea8..50b61af 100644<br>--- a/channels/chan_pjsip.c<br>+++ b/channels/chan_pjsip.c<br>@@ -1410,10 +1410,12 @@<br>                      /* FIXME: Only use this for VP8. Additional work would have to be done to<br>                      * fully support other video codecs */<br> <br>-                    if (ast_format_cap_iscompatible_format(ast_channel_nativeformats(ast), ast_format_vp8) != AST_FORMAT_CMP_NOT_EQUAL) {<br>+                        if (ast_format_cap_iscompatible_format(ast_channel_nativeformats(ast), ast_format_vp8) != AST_FORMAT_CMP_NOT_EQUAL ||<br>+                                ast_format_cap_iscompatible_format(ast_channel_nativeformats(ast), ast_format_h264) != AST_FORMAT_CMP_NOT_EQUAL) {<br>                            /* FIXME Fake RTP write, this will be sent as an RTCP packet. Ideally the<br>                              * RTP engine would provide a way to externally write/schedule RTCP<br>                            * packets */<br>+<br>                              struct ast_frame fr;<br>                          fr.frametype = AST_FRAME_CONTROL;<br>                             fr.subclass.integer = AST_CONTROL_VIDUPDATE;<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5938">change 5938</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/5938"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 14 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: If96c4fe319442bf58c68f0dbbd25dae2f7b509b9 </div>
<div style="display:none"> Gerrit-Change-Number: 5938 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>