<div>
            <div><p style="color: #a0a0a0;">Thank you Anthony, I will work more on video and will keep this in mind.</p><p style="color: #a0a0a0;">On Sunday, April 3, 2011 at 3:31 AM, Anthony Minessale wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><p>If you can find a patch to properly tell full frames on various codec it would be nice. That code is unfinished.</p>
<div class="gmail_quote">On Apr 2, 2011 2:46 AM, "Seven Du" &lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt; wrote:<br type="attribution">&gt; Answer myself.<br>&gt; <br>&gt; <br>&gt; I traced code and found that in line 1007 of mod_conference the frame data never matches 0x11<br>
&gt; <br>&gt; } else if (vid_frame-&gt;codec-&gt;implementation-&gt;ianacode == 99) { /* h.264 */<br>&gt; iframe = (*((int16_t *) vid_frame-&gt;data) &gt;&gt; 5 == 0x11);<br>&gt; <br>&gt; I hardcoded to iframe = 1 and then it works.<br>
&gt; <br>&gt; As I said I don't have problem with Bria, but with the xtp8886 device I got the following data sequence. I'm not familiar with video encoding, so is my device broken or we need other methods to detect an i-frame or is it safe to just hard coded into 1?<br>
&gt; <br>&gt; Thanks.<br>&gt; <br>&gt; <br>&gt; <br>&gt; *(int16_t *) vid_frame-&gt;data,  *((int16_t *) vid_frame-&gt;data) &gt;&gt; 5<br>&gt; <br>&gt; ffffb465, fffffda3<br>&gt; 165, b<br>&gt; 165, b<br>&gt; 65, 3<br>&gt; ffffd061, fffffe83<br>
&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; 4267, 213<br>&gt; 4868, 243<br>&gt; ffffb465, fffffda3<br>&gt; 165, b<br>&gt; 165, b<br>&gt; 65, 3<br>&gt; ffffd061, fffffe83<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>
&gt; 161, b<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 461, 23<br>&gt; 161, b<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 361, 1b<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>
&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 361, 1b<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 361, 1b<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>
&gt; 361, 1b<br>&gt; 161, b<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 361, 1b<br>&gt; 161, b<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; 4267, 213<br>&gt; 4868, 243<br>
&gt; ffffb465, fffffda3<br>&gt; 165, b<br>&gt; 165, b<br>&gt; 65, 3<br>&gt; ffffd061, fffffe83<br>&gt; ffffd061, fffffe83<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>
&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; 61, 3<br>&gt; 4267, 213<br>&gt; 4868, 243<br>&gt; ffffb465, fffffda3<br>&gt; 365, 1b<br>&gt; 165, b<br>&gt; 65, 3<br>&gt; ffffd061, fffffe83<br>
&gt; ffffd061, fffffe83<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 61, 3<br>&gt; ffffd061, fffffe83<br>&gt; 161, b<br>&gt; <br>&gt; <br>&gt; On Wednesday, March 30, 2011 at 7:31 PM, Seven Du wrote: <br>&gt;&gt; I tested with default 3000 conference and it just OK. But I have problem on H264.<br>
&gt;&gt; <br>&gt;&gt; I tested with one Bria 3.1 on Mac and two XTP8886 hardware phones.<br>&gt;&gt; <br>&gt;&gt; <a href="http://www.gvscusa.com/xtp8886.html">http://www.gvscusa.com/xtp8886.html</a><br>&gt;&gt; <br>&gt;&gt; Bria 1003<br>
&gt;&gt; XTP 1011/1012<br>&gt;&gt; <br>&gt;&gt; call from 1003 to 1011 and from 1011 to 1003 both ok with videos.<br>&gt;&gt; <br>&gt;&gt; <a href="http://pastebin.freeswitch.org/15910">http://pastebin.freeswitch.org/15910</a><br>
&gt;&gt; <a href="http://pastebin.freeswitch.org/15911">http://pastebin.freeswitch.org/15911</a><br>&gt;&gt; <br>&gt;&gt; When 3 phones calling into 3000(conference), Everyone call see Bria(1003), but no one can say 1011 and 1012. Even when I muted 1003. <br>
&gt;&gt; <br>&gt;&gt; <a href="http://pastebin.freeswitch.org/15913">http://pastebin.freeswitch.org/15913</a><br>&gt;&gt; <br>&gt;&gt; As I said there's no problem with similar test with h263.<br>&gt;&gt; <br>&gt;&gt; Can anyone help take a look, thanks.<br>
&gt;&gt; <br>&gt;&gt; -- <br>&gt;&gt; About: <a href="http://about.me/dujinfang">http://about.me/dujinfang</a><br>&gt;&gt; Blog: <a href="http://www.dujinfang.com">http://www.dujinfang.com</a><br>&gt;&gt; Proj: <a href="http://www.freeswitch.org.cn">http://www.freeswitch.org.cn</a><br>
&gt;&gt; <br>&gt;&gt; Sent with Sparrow<br>&gt;&gt; <br></div>
</div><div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div>