We are developing a RTSP player on Android. Our server will stream the
RTP packets and MediaPlayer will play the video. The problem we are
facing is as follows:

Whenever the media player starts playing video, it will play only for
5-6 seconds and then it will spend the next 10-12 seconds to buffer to
100% before playing for next 5-6 seconds. So this indicates that
buffering and playback are mutually exclusive processes. I do see the
following line in the log file

WARN/AudioFlinger: Write blocked for nn ms

The number "nn" ranges for 40 to 80. Is there anyway we can make the
buffering and playback parallel (Ideally it should be parallel). Am I
missing something very obvious? Has anyone faced such issue before?

Thanks in advance for any help.

- Sanjay

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to