Opened 11 years ago

Closed 11 years ago

#2314 closed defect (fixed)

Can't receive RTP streams > 1500 bytes.

Reported by: Andrew Van Til Owned by:
Priority: normal Component: avformat
Version: unspecified Keywords: RTP
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Cheers

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];

Change History (4)

comment:1 by Carl Eugen Hoyos, 11 years ago

Please send patches to the ffmpeg-devel mailing list, they receive more attention there.

comment:2 by Michael Niedermayer, 11 years ago

What is the largest packet size these receivers use ? Also please provide more information about the receivers. like exact name and manufactor
thanks

comment:3 by Andrew Van Til, 11 years ago

I believe that the largest packet size is 8192. The DCT I observed it with is a Ceton InfiniTV4 PCIe & USB, but the ATI one should use the same packet size as well.

Cheers

comment:4 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: newclosed

ok, thanks
changes applied

Note: See TracTickets for help on using tickets.