Thank you Anthony, I will work more on video and will keep this in mind. On Sunday, April 3, 2011 at 3:31 AM, Anthony Minessale wrote: If you can find a patch to properly tell full frames on various codec it would be nice. That code is unfinished.
On Apr 2, 2011 2:46 AM, "Seven Du" <dujinfang@gmail.com> wrote:
Answer myself.
I traced code and found that in line 1007 of mod_conference the frame data never matches 0x11
} else if (vid_frame->codec->implementation->ianacode == 99) { /* h.264 */ iframe = (*((int16_t *) vid_frame->data) >> 5 == 0x11);
I hardcoded to iframe = 1 and then it works.
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?
Thanks.
*(int16_t *) vid_frame->data, *((int16_t *) vid_frame->data) >> 5
ffffb465, fffffda3 165, b 165, b 65, 3 ffffd061, fffffe83 61, 3 ffffd061, fffffe83 161, b 4267, 213 4868, 243 ffffb465, fffffda3 165, b 165, b 65, 3 ffffd061, fffffe83 61, 3 ffffd061, fffffe83 161, b 61, 3 ffffd061, fffffe83 461, 23 161, b 61, 3 ffffd061, fffffe83 161, b ffffd061, fffffe83 361, 1b 61, 3 ffffd061, fffffe83 161, b ffffd061, fffffe83 361, 1b 161, b ffffd061, fffffe83 61, 3 ffffd061, fffffe83 361, 1b 161, b ffffd061, fffffe83 161, b ffffd061, fffffe83 361, 1b 161, b 61, 3 ffffd061, fffffe83 161, b ffffd061, fffffe83 361, 1b 161, b 61, 3 ffffd061, fffffe83 161, b 4267, 213 4868, 243 ffffb465, fffffda3 165, b 165, b 65, 3 ffffd061, fffffe83 ffffd061, fffffe83 61, 3 ffffd061, fffffe83 161, b ffffd061, fffffe83 161, b 61, 3 ffffd061, fffffe83 161, b ffffd061, fffffe83 161, b 61, 3 4267, 213 4868, 243 ffffb465, fffffda3 365, 1b 165, b 65, 3 ffffd061, fffffe83 ffffd061, fffffe83 61, 3 ffffd061, fffffe83 61, 3 ffffd061, fffffe83 161, b
On Wednesday, March 30, 2011 at 7:31 PM, Seven Du wrote:
I tested with default 3000 conference and it just OK. But I have problem on H264.
I tested with one Bria 3.1 on Mac and two XTP8886 hardware phones.
http://www.gvscusa.com/xtp8886.html
Bria 1003 XTP 1011/1012
call from 1003 to 1011 and from 1011 to 1003 both ok with videos.
http://pastebin.freeswitch.org/15910 http://pastebin.freeswitch.org/15911
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.
http://pastebin.freeswitch.org/15913
As I said there's no problem with similar test with h263.
Can anyone help take a look, thanks.
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
Sent with Sparrow
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org