[Live-devel] Received Frames not written.
Saumya Chandra
saumya at ece.ucsd.edu
Mon Jun 27 16:24:52 PDT 2005
Thanks Ross,
This seems to work most of the time. However, sometimes there are still
packet losses which I cannot explain. Mostly, some frames towards the end
of the stream will be discarded.
Saumya.
On Mon, 27 Jun 2005, Ross Finlayson wrote:
>
> >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/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
>
More information about the live-devel
mailing list