Hi all!
My application reads a netradio stream arriving through a Bluetooth or
wifi connection. It can easily happen that the network connection goes
down. I've tried this.
Situation: application is continously reading frames by calling
av_read_frame(...). Suddenly I disconnect the device from the network,
av_read_frame(...) will then block and will never return, or after a lot
of seconds that is too much for me.
Is there any way to tune ffmpeg to return with error in those cases
instead of getting blocked for several seconds?
(I've been thinking of adjusting /proc/sys/net/ipv4/... variables, but
at the moment I don't know which is the appropriate one).
Could you please help me to solve this issue?
Thanks,
--
Selmeci, Tamas
http://www.open-st.eu
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user