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.


Bria 1003
XTP 1011/1012

call from 1003 to 1011 and from 1011 to 1003 both ok with videos.


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. 


As I said there's no problem with similar test with h263.

Can anyone help take a look, thanks.