[FFmpeg-trac] #2314(avformat:new): Can't receive RTP streams > 1500 bytes.

FFmpeg trac at avcodec.org
Sat Mar 2 04:26:12 CET 2013


#2314: Can't receive RTP streams > 1500 bytes.
----------------------------------+---------------------------------------
             Reporter:  babgvant  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  unspecified
             Keywords:  RTP       |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 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];

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2314>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list