[FFmpeg-devel] Can't receive RTP streams > 1500 bytes

Andrew Van Til andyvt at babgvant.com
Sat Mar 2 17:35:25 CET 2013


Hi,

I was told <https://ffmpeg.org/trac/ffmpeg/ticket/2314#comment:1>to submit
this to this mailing list.

-----------------------------------------------------------------------------

Some Digital Cable Tuners use RTP packets larger than 1500 bytes, because
of this the current implementation will not connect to their RTP streams.
Fix is noted below.


 Change: rtpdec.h

#define RTP_MAX_PACKET_LENGTH 8192 *//1500
*

Change: rtsp.c

static int rtp_read_header(AVFormatContext *s)
{

*//uint8_t recvbuf[1500];
*
uint8_t recvbuf[RTP_MAX_PACKET_LENGTH];

Thanks

Andrew Van Til
babgvant.com
<http://babgvant.com>


More information about the ffmpeg-devel mailing list