Hi,

I am developing an android app for Google TV Api level 13. I have a 
videoview which plays .mp4 video from raw folder.
Sometimes the video playes properly.
But sometimes i can observe lot of frame drops.
And logcat message shows *:AwesomePlayer(789): we're much too late (0.50 
secs), video skipping ahead*

Here is my code:

 VideoView mVideoView = (VideoView) findViewById(R.id.videoView1);
 String path = "android.resource://" + getPackageName() + "/" + R.raw.test;
 mVideoView.setVideoURI(Uri.parse(path));
 mVideoView.start();

        MediaController mc = new MediaController(this, true);
        mc.setMediaPlayer(mVideoView);
        mc.setAnchorView(mVideoView);
        
        mVideoView.setMediaController(mc);
        mVideoView.requestFocus();

I am testing with google tv emulator.

How can i fix this issue?

-- 
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