[Live-devel] Received Frames not written.

Ross Finlayson finlayson at live.com
Mon Jun 27 03:22:07 PDT 2005


>It does not seem to make much difference.

Try again - this time replacing the code that I mentioned last time with:
         fCurrentPacketBeginsFrame
                 = packet->dataSize() >= 4 && (packet->data())[0] == 0
                     && (packet->data())[1] == 0 && (packet->data())[2] == 1;
(i.e., use only the first 4 bytes of the packet data to determine whether 
it begins a frame (by checking if it's a system code: 0x000001xx).)

>Is there a way I can find out which "frames" are actually written in the
>file?

Note the code in "MultiFramedRTPSource.cpp", lines 137-154, which 
determines which packets are actually used.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list