I write an application to play a video file in in GLSurfaceView in Android, 
so that I could interact to show video frames in different ways. I can use 
my finger to move left, right, up, and down on the screen, in order to move 
the viewable part on the horizontally long frame.

But the problem is that sometimes the video frame freezes there for a 
while. The situation is like: The video on GLSurfaceView plays normally for 
2 seconds, then the video frame freezes there for 2-3 seconds, but the 
audio streaming continues normally; Then the video stream can play, 
synchronizing with the audio stream (good part; otherwise the app would be 
a whole mess and not useful at all). After that, similar situations happen 
again for several times, untill the video playing ends.

So the whole user experience is very bad.

How to solve it?

Is it because the processing burden when I do interaction? But even if I do 
not move my fingers, sometimes the video frame freezes. Is it still due to 
the processing burden? I use Nexus 4.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to