Your comments

thanks nikolay. if it works that would solve my client wish.

Screenshot was from our test phone but emulator had same problem. It looks like rtsp_transport=tcp; may solve the issue. I did a short test with wifi and 3g on dahua cameras and it worked much better. We will do a longer test with them.
Wow thank you rusanov that was what i was thinking to do. :) i didnt try it but even if i have to debug it you saved me from coding it  :) thx alot again