[FFmpeg-trac] #4380(undetermined:new): rtsp stream with rtsp_transport as tcp has recv() return 0

FFmpeg trac at avcodec.org
Fri Mar 20 07:42:39 CET 2015


#4380: rtsp stream with rtsp_transport as tcp has recv() return 0
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  richard_wang                       |                 Priority:  normal
               Status:  new          |                  Version:
            Component:               |  unspecified
  undetermined                       |               Blocked By:
             Keywords:  rtsp         |  Reproduced by developer:  0
  streaming tcp recv() return 0      |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I am using ffmpeg-2.3 to do rtsp streaming with a web camera UHG1182E (as
 rtsp server). When I try to restart the rtsp streaming repeatedly,
 av_read_frame will return EOF. Further debug shows that inside tcp.c,
 recv() returns 0 which means peer drops off. Not sure why this happens.

 How to reproduce:
 Need to use a web camera UHG1182E, and re-launch the rtsp streaming
 repeatedly.

 Thanks in advance for any suggestion.

 {{{
 % ffmpeg -i input ... output
 ffmpeg version
 built on ...
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list