<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" <<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>> wrote:<br type="attribution">> Answer myself.<br>> <br>> <br>> I traced code and found that in line 1007 of mod_conference the frame data never matches 0x11<br>
> <br>> } else if (vid_frame->codec->implementation->ianacode == 99) { /* h.264 */<br>> iframe = (*((int16_t *) vid_frame->data) >> 5 == 0x11);<br>> <br>> I hardcoded to iframe = 1 and then it works.<br>
> <br>> 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>
> <br>> Thanks.<br>> <br>> <br>> <br>> *(int16_t *) vid_frame->data, *((int16_t *) vid_frame->data) >> 5<br>> <br>> ffffb465, fffffda3<br>> 165, b<br>> 165, b<br>> 65, 3<br>> ffffd061, fffffe83<br>
> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> 4267, 213<br>> 4868, 243<br>> ffffb465, fffffda3<br>> 165, b<br>> 165, b<br>> 65, 3<br>> ffffd061, fffffe83<br>> 61, 3<br>> ffffd061, fffffe83<br>
> 161, b<br>> 61, 3<br>> ffffd061, fffffe83<br>> 461, 23<br>> 161, b<br>> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> ffffd061, fffffe83<br>> 361, 1b<br>> 61, 3<br>> ffffd061, fffffe83<br>
> 161, b<br>> ffffd061, fffffe83<br>> 361, 1b<br>> 161, b<br>> ffffd061, fffffe83<br>> 61, 3<br>> ffffd061, fffffe83<br>> 361, 1b<br>> 161, b<br>> ffffd061, fffffe83<br>> 161, b<br>> ffffd061, fffffe83<br>
> 361, 1b<br>> 161, b<br>> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> ffffd061, fffffe83<br>> 361, 1b<br>> 161, b<br>> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> 4267, 213<br>> 4868, 243<br>
> ffffb465, fffffda3<br>> 165, b<br>> 165, b<br>> 65, 3<br>> ffffd061, fffffe83<br>> ffffd061, fffffe83<br>> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> ffffd061, fffffe83<br>> 161, b<br>
> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> ffffd061, fffffe83<br>> 161, b<br>> 61, 3<br>> 4267, 213<br>> 4868, 243<br>> ffffb465, fffffda3<br>> 365, 1b<br>> 165, b<br>> 65, 3<br>> ffffd061, fffffe83<br>
> ffffd061, fffffe83<br>> 61, 3<br>> ffffd061, fffffe83<br>> 61, 3<br>> ffffd061, fffffe83<br>> 161, b<br>> <br>> <br>> On Wednesday, March 30, 2011 at 7:31 PM, Seven Du wrote: <br>>> I tested with default 3000 conference and it just OK. But I have problem on H264.<br>
>> <br>>> I tested with one Bria 3.1 on Mac and two XTP8886 hardware phones.<br>>> <br>>> <a href="http://www.gvscusa.com/xtp8886.html">http://www.gvscusa.com/xtp8886.html</a><br>>> <br>>> Bria 1003<br>
>> XTP 1011/1012<br>>> <br>>> call from 1003 to 1011 and from 1011 to 1003 both ok with videos.<br>>> <br>>> <a href="http://pastebin.freeswitch.org/15910">http://pastebin.freeswitch.org/15910</a><br>
>> <a href="http://pastebin.freeswitch.org/15911">http://pastebin.freeswitch.org/15911</a><br>>> <br>>> 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>
>> <br>>> <a href="http://pastebin.freeswitch.org/15913">http://pastebin.freeswitch.org/15913</a><br>>> <br>>> As I said there's no problem with similar test with h263.<br>>> <br>>> Can anyone help take a look, thanks.<br>
>> <br>>> -- <br>>> About: <a href="http://about.me/dujinfang">http://about.me/dujinfang</a><br>>> Blog: <a href="http://www.dujinfang.com">http://www.dujinfang.com</a><br>>> Proj: <a href="http://www.freeswitch.org.cn">http://www.freeswitch.org.cn</a><br>
>> <br>>> Sent with Sparrow<br>>> <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>