Hi, I've been noticing that when using VideoView to view RTSP video streams, there is a slowly but constantly growing buffer/time lag in Android, even when using tiny resolution and tiny bitrate. I use VideoLAN on a laptop to stream webcam video, typically 320x240, RTSP, MPEG-TS, H-264, 100 kb/s. I connect to the stream using Android VideoView, and everything starts out good. However, I notice over time, the lag between real video and video displayed on my phone has a slowly but constantly growing time lag. It starts at about 5 sec lag, and then over a few minutes, grows to 10 sec, 30 sec, etc. (both WIFI and 3G act the same) This happens even if my main Java thread is completely idle, and it's impossible for real-time interactions like this. Note, using a PC to connect to the RTSP stream I never see more than 2 sec of time lag. I'm trying to find some way to control the video buffer usage and/or rules in Android, but I don't see any options in the VideoView or MediaPlayer interface. Is there some hidden interface to the core Linux media process? I've tried many different bit rates, encoding formats, encapsulation, etc, but I can't get around this steadily growing video time lag. My phone is Samsung Galaxy S (Verizon Fascinate) running Android 2.1. Any hints or suggestions would be appreciated!
Thanks, Scrappy