<div dir="ltr"><div>Yes, it does work. but i am bit hesitant to go with this approach, as it increases the CPU load, if i am not wrong, <br>as each time interrupt callback will get invoked. <br><br></div><div>correct me if i am wrong?<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 10:40 PM, wm4 <span dir="ltr"><<a href="mailto:nfxjfg@googlemail.com" target="_blank">nfxjfg@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Mon, 17 Mar 2014 22:20:19 +0530<br>
whoami Jils <<a href="mailto:get2jils@gmail.com">get2jils@gmail.com</a>> wrote:<br>
<br>
> Hi<br>
><br>
> i follow below step to set UDP socket timeout of 5 seconds.<br>
><br>
> AVDictionary *stream_opts = 0;<br>
> av_dict_set(&stream_opts, "timeout", 3000000) // in microseconds.<br>
> avformat_open_input ( &myContext, "<myIPAddr", NULL, &stream_opts);<br>
<br>
</div>Just an uniformed guess: does setting the interrupt callback help?<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br></div>