ExampleMediaController icon indicating copy to clipboard operation
ExampleMediaController copied to clipboard

Some bug with video displaying

Open kavryn opened this issue 12 years ago • 1 comments

I created Android project from this code, but when I start an application I can see only the following picture and hear sound from video:

device-2013-06-26-141630

What I did wrong? (I run app on my phone (LG), Android 2.3.3)

There are no errors or exceptions in LogCat.

kavryn avatar Jun 26 '13 11:06 kavryn

This is an old problem but my answer may help someone.

For Android 2.3.3 (and maybe others old versions) you need to add this line :

videoHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);

sf84 avatar Oct 13 '14 14:10 sf84