Opened 12 years ago
Closed 12 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 , 12 years ago
comment:2 by , 12 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 , 12 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
Please send patches to the ffmpeg-devel mailing list, they receive more attention there.