Daniel,
It is my feeling that since the swap is being done in the onCompletion
handler, there would be a gap in playback in either case. If prepare
is the time consuming part of Prepare(), Start(), Seekto().. then I
can see this shrinking the gap. But, if there is a detectable delay,
then the leng
John-Marc,
I am glad that it works.
I am not sure whether prepareAsync would be quicker than blocking prepare call.
I mean that whatever the system implementation of the player,
preparing it takes the same amount of time and async call simply does
not block, but if you call play as a next statem
Hi,
I'm using the reset() now. There's a little bump in the playback every
time it reaches the end of the content that existed in the file when
it was initially loaded which I don't like but I'm using prepareAsync
so I think this hiccup is as small as I can make it with a single
VideoView.
Thanks
John-Marc,
I have not done this myself, but here is tutorial on how to do it:
http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/
They actually create new MediaPlayer object upon every update to the
buffer file and point this new MediaPlayer to the u
Hi,
I am currently writing a video file to the SDCard while playing it
with VideoView.
My problem is that, if I buffer 1MB of video and begin the Video
playback, the video stops after 1MB has been played, even though by
this time, 5MBs of file has now been written to the sdcard.
I have been tryi
5 matches
Mail list logo