NPE when determining if video codecs are supported
Closed this issue · 0 comments
A video container isn't being populated and is causing the crash. In this case, we need to fall back to transcoding as we can't determine if the video should be played.
Caused by java.lang.IllegalStateException: video.container must not be null
at us.nineworlds.serenity.ui.video.player.ExoplayerPresenter.isDirectPlaySupportedForContainer$serenity_app_release(ExoplayerPresenter.kt:166)
at us.nineworlds.serenity.ui.video.player.ExoplayerPresenter.transcoderUrl(ExoplayerPresenter.kt:188)
at us.nineworlds.serenity.ui.video.player.ExoplayerPresenter.playBackFromVideoQueue(ExoplayerPresenter.kt:159)
at us.nineworlds.serenity.ui.video.player.ExoplayerVideoActivity.onResume(ExoplayerVideoActivity.kt:106)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1273)
at android.app.Activity.performResume(Activity.java:6130)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3142)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3194)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2552)
at android.app.ActivityThread.access$800(ActivityThread.java:160)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5597)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:984)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)