changeset 27776:ef0b0f9291a2

increase the max RTP packet size to 5MB as modern Elphel cameras do produce such huge packets. Requested by Alexandre Poltorak
author attila
date Wed, 22 Oct 2008 16:08:26 +0000
parents 5ea38a20e74e
children 52a85f0b08d4
files libmpdemux/demux_rtp.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rtp.cpp	Tue Oct 21 07:02:25 2008 +0000
+++ b/libmpdemux/demux_rtp.cpp	Wed Oct 22 16:08:26 2008 +0000
@@ -371,7 +371,7 @@
 
 ////////// Extra routines that help implement the above interface functions:
 
-#define MAX_RTP_FRAME_SIZE 50000
+#define MAX_RTP_FRAME_SIZE 5000000
     // >= the largest conceivable frame composed from one or more RTP packets
 
 static void afterReading(void* clientData, unsigned frameSize,