Closed Kronos0041 closed 4 years ago
The provided bug report doesn't appear to contain the MediaCodec
-related logging shown here, so I can't look for any diagnostic information output before the exception was thrown. I don't think there's much we can do to help based on this.
I'd suggest you have a look at logcat output just before the exception, and also try playing the streams in the ExoPlayer demo app to see if there's any useful information to figure out what's going on. For example, the demo app will log information about what tracks are supported and you can look for NO_EXCEEDS_CAPABILITIES
to check if the device just doesn't advertise support for the format.
Also, since you have CyanogenMod/custom firmware on the devices it's unclear whether the devices have actually passed Android compatibility testing, so the system image may just not be working correctly. I'd recommend reporting the problem to the Amlogic (or the originator of the system image) and Cyanogen.
Aside: I think the following part of the stack trace suggests your PlayerController
listener is trying to getSourceException
for a different type of exception (you need to check the type of exception -- see ExoPlaybackException
's javadoc for more information):
java.lang.IllegalStateException: null
at com.google.android.exoplayer2.util.Assertions.checkState(Assertions.java:81)
at com.google.android.exoplayer2.ExoPlaybackException.getSourceException(ExoPlaybackException.java:200)
at com.liqvid.android_tv.business_logic.player.controllers.PlayerController$playerListener$1.onPlayerError(PlayerController.kt:594)
[REQUIRED] Issue description
When I try to play some videos, I got some error like this issue: https://github.com/google/ExoPlayer/issues/3953
Device info
Android version: 6.0 Model: LG-K420 Firmware: CyanogenMod 12.1
Error:
Device info
Android version: 7.1 Model: x96mini (TV box) Firmware: Custom. Like this firmware: TANIX TX3 MAX & MINI
Error:
[REQUIRED] Reproduction steps
Sample app with videos in asset folder: https://github.com/AlexandrPuryshev/exoplayer_bug
[REQUIRED] Link to test content
https://github.com/AlexandrPuryshev/exoplayer_bug/tree/master/app/src/main/assets
[REQUIRED] A full bug report captured from the device
sended to dev.exoplayer@gmail.com
[REQUIRED] Version of ExoPlayer being used
"latest" (2.11.7)
[REQUIRED] Device(s) and version(s) of Android being used
Android version: 6.0 Model: LG-K420 Firmware: CyanogenMod 12.1
Android version: 7.1 Model: x96mini (TV box) Firmware: Custom. Like this firmware: TANIX TX3 MAX & MINI