[FFmpeg-trac] #6455(avformat:new): Zero length packets in UDP stream cause EOF

FFmpeg trac at avcodec.org
Wed Aug 23 12:21:21 EEST 2017

#6455: Zero length packets in UDP stream cause EOF
             Reporter:  danman      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by Cigaes):

 I hope you remember that this is a '''public API''', so the answer to this
 question must be searched not just in the FFmpeg code base but in any
 application implemented using lavf, including unpublished ones. Since
 empty UDP packets still carry some information (source and destination
 address), the idea that some protocols use them is not ridiculous and must
 be taken into consideration.

 That is enough to reject the change.

 But if you want an actual example, you could do just like me and search
 the web: apparently, there are firewall hole-punching protocols that use
 empty packets for keep-alive.

Ticket URL: <https://trac.ffmpeg.org/ticket/6455#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list