Opened 4 years ago

Last modified 4 years ago

#4380 new defect

rtsp stream with rtsp_transport as tcp has recv() return 0

Reported by: richard_wang Owned by:
Priority: normal Component: undetermined
Version: 2.6 Keywords: rtsp streaming tcp recv() return 0
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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.

Change History (1)

comment:1 Changed 4 years ago by richard_wang

  • Version changed from unspecified to 2.6
Note: See TracTickets for help on using tickets.