[Libav-user] RTSP Connection timeout

yari mattei yari.mattei at student.supsi.ch
Tue Jun 16 16:09:29 CEST 2015


Hi guys,

I am using the FFMPEG API to implement a RTSP stream reader and I have a 
problem.

If I try to connect to a stream wchich is unavailable the program is 
freezing (it try to connect forever without any massage or possibility 
to handle this)

The function I am using is avformat_open_input(&pFormatCtx, filename, 
NULL, NULL).

Do you know if there is a way to handle this problem? Or any other API 
which allows to handle it?

Cheers,
Yari


More information about the Libav-user mailing list