I'm developing
an android
app, in which I want to play HEVC formatted MP4 video in android
devices. The source MP4 video is uploaded to server
and I'm using PHP
to stream video from server to android
devices. The video is playing in Moto E2, RedMi note 4 but not in Android G4 plus. I have checked the decoders list. Moto G4 has decoder
to decode
HEVC MP4 video as in Moto E2. I'm using default android MediaPlayer
and VideoView
class. But when I use Exoplayer
the streaming works. Can anyone help me in understanding
the reason ?
Asked
Active
Viewed 72 times
0

Abdul Kawee
- 2,687
- 1
- 14
- 26

Nandha Kumar
- 131
- 3
- 13
1 Answers
0
Code from the following link works for me MediaCodecDemo or we can use googlesample MediaCodec Sample

Nandha Kumar
- 131
- 3
- 13