<p>Kevin Harwell has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5936">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, 2 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/36/5936/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 7cab428..1a74bd7 100644<br>--- a/channels/chan_pjsip.c<br>+++ b/channels/chan_pjsip.c<br>@@ -1598,7 +1598,8 @@<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></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5936">change 5936</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/5936"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: If96c4fe319442bf58c68f0dbbd25dae2f7b509b9 </div>
<div style="display:none"> Gerrit-Change-Number: 5936 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>