[Live-devel] The total received frame size exceeds the client's buffer size

Ross Finlayson finlayson at live555.com
Thu Mar 16 07:50:42 PST 2006


At 03:13 AM 3/16/2006, you wrote:
>Since am developing a relay

As I noted before, the problem is that your 'sink' object is not 
providing a sufficiently large buffer.

In your case - because you are developing a relay, your 'sink' object 
is a "MultiFramedRTPSink" (subclass).

Therefore, you must set
         OutPacketBuffer::maxSize
to the size (in bytes) of the largest possible incoming MPEG-4 video 
frame.  (Recall that if - as is often the case - a MPEG-4 video frame 
is split over multiple RTP packets, "MPEG4ESVideoRTPSource" will 
combine them back into a single MPEG-4 video frame before delivering 
the result to the downstream object (in your case, a "MPEG4ESVideoRTPSink").)

Note that you must assign "OutPacketBuffer::maxSize" to your new 
value *before* you create your "MPEG4ESVideoRTPSink".


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list