Opened 10 years ago

Closed 5 years ago

#4380 closed defect (needs_more_info)

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

Reported by: richard_wang Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: rtsp
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 (2)

comment:1 by richard_wang, 10 years ago

Version: unspecified2.6

comment:2 by Carl Eugen Hoyos, 5 years ago

Keywords: streaming tcp recv() return 0 removed
Resolution: needs_more_info
Status: newclosed
Version: 2.6unspecified
Note: See TracTickets for help on using tickets.