I had followed the demo in Help Doc to play a stream movie(.ogv) by using WWW.movie and MovieTexture, but when I tested it in a slower connection, I found the movie(actually the audio of the movie) was doing repeating the current frame (just like a stammerer speaking) when the buffer turned to NOT enough again. Is there anyone got the same problem or know how to avoid this?
I wanted to pause the movie and audio to avoid them repeating the current frame when the buffer turned to NOT enough, but I have no idea how to check the buffer was enough or not. I had tried to use isReadyToPlay, but seemed like it wouldn't be false when the buffer was NOT enough again after the first playing start.
Thanks for any help.
Here is My code demo:
Unity is not streaming videos in the sense that YouTube is. When enough video has downloaded to start the playback the flag is set, but hiccups in the delivery can mean that the video stalls, as you see. I don't think the buffer is exposed in any way.
answered Oct 21 '11 at 01:05 PM
Graham Dunnett ♦♦