Android – exoplayer plays multiple videos at the same time

I want to play video lists at the same time (one by one, like a video)

I'm using exoplayer to play these videos now, but I can't buffer the next video when playing the current video. Therefore, it doesn't look like a video. There is a delay when switching between the two videos

Has anyone solved this?

resolvent:

I have the same problem,

In the mediacodectrackrenderer class, change line 360: codec = mediacodec.createbycodecname (codecname) to codec = mediacodec.createcoderbytype (mimeType)

It looks like exoplayer tries to use multiple hardware decoders, but some devices do not allow multiple hardware decoders

If a hardware decoder is assigned, these changes will allow exoplayer to select a software decoder

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>