>my application stopped at this point: > >MyH264VideoStreamFramer::doGetNextFrame(){ > > getPayload(); // loading RTP payload information on >pszBuff > fMaxSize=1000000;
There's your problem. "fMaxSize" is an 'in' parameter. It is specified by the downstream object, and is the (maximum) size of the buffer that you can write into. You do not set it yourself. Your code should look something like: fFrameSize=frameSize; if (fFrameSize > fMaxSize) { fNumTruncatedBytes = fFrameSize - fMaxSize; fFrameSize = fMaxSize; } memcpy(fTo,pszBuff,fFrameSize); -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel