Android – exoplayer plays multiple videos at the same time
•
Android
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
二维码