[Live-devel] Detecting receive-buffer overflows

Ross Finlayson finlayson at live.com
Mon Mar 28 05:01:48 PST 2005


>How do I detect a receive-buffer overflow at the "fRTPInterface" in
>the MultiFramedRTPSource?

That shouldn't happen, because the size of the buffer that you're reading 
into is supposed to be at least as large as the largest UDP payload that 
you expect to see.  (See the definition of MAX_PACKET_SIZE - currently 
10000 - in "MultiFramedRTPSource.cpp".)

If, on the other hand, you're on a network where you expect unusually large 
UDP packets, then you may wish to increase that size.  (The maximum 
possible UDP payload size is 65536.)


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



More information about the live-devel mailing list