Ticket #2314 (closed defect: fixed)

Opened 4 months ago

Last modified 2 months ago

Can't receive RTP streams > 1500 bytes.

Reported by: babgvant 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

comment:1 Changed 4 months ago by cehoyos

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

comment:2 Changed 3 months ago by michael

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 Changed 3 months ago by babgvant

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 Changed 2 months ago by michael

  • Status changed from new to closed
  • Resolution set to fixed

ok, thanks
changes applied

Note: See TracTickets for help on using tickets.