Josh Guilfoyle wrote: [...] > Also, in my tests, the MediaPlayer buffers poorly. It seems to take 2 > - 5 seconds to even gear up and make a connection for some reason, and > then it seems to buffer more than is necessary in certain > circumstances. I'd like to load a simple test up on the HTC Vogue and > see what more I can learn about how 0.9 behaves on real hardware.
Well, with much trepidation I've ripped out all my cacheing code and am now using pure streaming --- and it all works far better! I'm not seeing any of the buffering problems, and it all seems to be quite snappy, even when seeking beyond the buffer limits. However, I completely agree about the onBufferUpdate() parameter --- it's completely useless. I think it's showing me the high-water-mark of the buffer. Without the matching low-water-mark, I can't doing anything useful with it. onSeekComplete() seems to be a bit questionable, too, as when I get events seems completely unrelated to whether it's actually finished buffering or not. I also notice that streaming Ogg Vorbis files fails with, yes, another undocumented error code --- is this known to not work? -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ "All power corrupts, but we need electricity." --- Diana Wynne Jones, │ _Archer's Goon_
signature.asc
Description: OpenPGP digital signature

