I want to play a list of videos at the same time(one after other, just like 1 video)
I’m now using ExoPlayer to play those videos, but I cannot buffer next video when the current video is playing. So it can’t look like one video, there is delay when switch between two videos.
Any one has solution for this, please?
I have the same problem,
change line 360 :codec = MediaCodec.createByCodecName(codecName) to codec = MediaCodec.createDecoderByType(mimeType) in MediaCodecTrackRenderer class.
looks like exoplayer try to use more than one hardware decoder but some devices does not allow more than one hardware decoders.
the changes will let exoplayer to pick software decoder if hardware decoders are allocated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With