[Libav-user] questions about indefinite waiting for incoming rtmp stream
qw
applemax82 at 163.com
Sun Jul 31 13:25:01 EEST 2016
Hi,
I use avformat_open_input(), and avformat_find_stream_info() to open rtmp stream, and use av_read_frame() to read av packet. If there is no incoming rtmp stream, avformat_open_input() and avformat_find_stream_info() will wait indefinitely. If incoming rtmp stream is terminated in the middle, av_read_frame() will wait indefinitely.
Is there some method for ffmpeg lib to effective handle this sort of indefinite waiting in case of network issue?
Thanks!
Regards
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160731/667858fa/attachment.html>
More information about the Libav-user
mailing list