Is it possible to have H.264 video streaming on Android 5.1 emulator?

52 Views Asked by At

An app using MediaCodec to stream H.264 video works flawlessly on Android 9, 10, 11, 12, 13 emulators but the H.264 video streaming does not work on an Android 5.1 emulator:

enter image description here

Changing the Graphics setting does not make any difference: enter image description here

I wonder if it is possible at all to stream H.264 on an Android 5.1 emulator. Could anyone shed some light on this?

The app gets the following exception:

java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueInputBuffer(Native Method)
at android.media.MediaCodec.dequeueInputBuffer(MediaCodec.java:983)
0

There are 0 best solutions below