I'm trying to create an application for ios which receives rtsp frames from ip 
camera. But when I suspend my main thread (for example, minimize my 
application) and resume it after some time, I see what I read old frame. I 
think that ffmpeg library create new thread somewhere which fill some buffer 
with frames. So how can I turn that buffer off? I suppose that I don't need 
that buffer because I use rtsp over tcp.
And I tried to use flag AVFMT_FLAG_NOBUFFER but it did not help.
I use ffmpeg 2.3.
Thanks
PS
Probably there in no away to turn this internal buffer off but how I can 
restrict it? To 1 or 2 frames (or seconds). I tried a lot of variants and have 
no idea what to do.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to