Re: [Live-devel] doEventLoop()

2008-12-26 Thread Ross Finlayson
The call to doGetNextFrame (doGetNextFrame(void *data, int len) in my code) only happens when data is present. No, that's not true! The "doGetNextFrame()" (virtual) function is called by the "FramedSource::getNextFrame()" function, which is called by the downstream object whenever it wants ne

Re: [Live-devel] doEventLoop()

2008-12-26 Thread Austin Snow
The call to doGetNextFrame (doGetNextFrame(void *data, int len) in my code) only happens when data is present. Than in (doGetNextFrame(void *data, int len) in my code) function I call deliverFrame(data, len); function passing the data. But the function deliverFrame(data, len); the if state

Re: [Live-devel] doEventLoop()

2008-12-26 Thread Ross Finlayson
Hello All, I have created my own deviceSource.cpp for my live input from QTKit, I call doGetNextFrame with my data and than pass it to deliverFrame. I have based my streaming from MPEG4ToVideoStreamer, which blocks at env->taskScheduler().doEventLoop(); // does not return and does not allow my

[Live-devel] doEventLoop()

2008-12-26 Thread Austin Snow
Hello All, I have created my own deviceSource.cpp for my live input from QTKit, I call doGetNextFrame with my data and than pass it to deliverFrame. I have based my streaming from MPEG4ToVideoStreamer, which blocks at env- >taskScheduler().doEventLoop(); // does not return and does not allow

Re: [Live-devel] how to detect the access unalign issue when porting live555 to uCOS?

2008-12-26 Thread Ross Finlayson
fPresentationTime = presentationTime; <--- data unalign exception occurs here It looks like you have a buggy compiler. If both "fPresentationTime" and "presentationTime" are declared as "struct timeval", you should not be getting a data alignment error when you try to assign

[Live-devel] how to detect the access unalign issue when porting live555 to uCOS?

2008-12-26 Thread zhi sun
Ross, I am tring to port the live555 to our embedded system with uCOS support. For now, the MPEG2TransportStream works fine (on PC and embedded device), except for the slow performance when using VLC. I have added our H264 support class, in addition to the H264RTPSink and FUAFragment classes, it