-
Notifications
You must be signed in to change notification settings - Fork 5
Description
As a Pillarbox user, I want to be able to watch my video even if the sprite sheet can't be downloaded.
Context
Currently, if the sprite sheet of a video can't be downloaded, the app crashes with a FileNotFoundException.
Logcat
FATAL EXCEPTION: DefaultDispatcher-worker-9 (Ask Gemini)
Process: ch.srf.mobile.debug, PID: 9714
java.io.FileNotFoundException: https://il-test.srgssr.ch/spritesheet/urn/srf/video/767bd0a0-b553-4544-9f2b-0a0fec49868f/sprite-767bd0a0-b553-4544-9f2b-0a0fec49868f.jpeg
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:255)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:211)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:30)
at com.google.firebase.perf.network.InstrURLConnectionBase.getInputStream(InstrURLConnectionBase.java:142)
at com.google.firebase.perf.network.InstrHttpsURLConnection.getInputStream(InstrHttpsURLConnection.java:79)
at com.google.firebase.perf.network.FirebasePerfUrlConnection.openStream(FirebasePerfUrlConnection.java:71)
at com.google.firebase.perf.network.FirebasePerfUrlConnection.openStream(FirebasePerfUrlConnection.java:47)
at ch.srgssr.pillarbox.core.business.source.SpriteSheetLoader$Default$loadSpriteSheet$1.invokeSuspend(SpriteSheetLoader.kt:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:113)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:820)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@31b5f26, Dispatchers.IO]
Acceptance criteria
- Video can be played even if the sprite sheet can't be downloaded.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status