Cesium imageryFrames: a video whose seek never ends is let go; a failed one waits before loading again

A video whose seeks never ended stayed seeking, so every frame seeked it
again and waited out the timeout behind the others, and it was never
replaced. A seek that times out now lets the video go, so the next frame
loads a fresh one. A video that failed to load or to give its length
fails its frames at once for 3 minutes instead of being downloaded again
for every tile.
This commit is contained in:
Sameh Khamis committed 2026-11-11 20:23:28 -08:00
1 parent ba0fad3c35
commit 151230f5fa
3 files changed
+51 -13

No files matched your search

+3 -2
View File
@@ -219,8 +219,9 @@ the video its URL names for it (or one video over the layer's rectangle for a
keeps its 48 most recently seen tile videos; a tile waiting on one it lets
go, or on a seek that takes over 10 s (60 s for the seek past its end that
learns the length of a video that does not state it), fails rather than
waiting; a video that failed to load is asked for afresh by the next tile, and
one still seeking is seeked again rather than drawn as it stands. `frameReady`
waiting. A video whose seek did not end is let go, so the next tile loads a
fresh one; one that failed to load (or to say how long it is) fails its tiles
at once for 3 minutes, then loads again. `frameReady`
names the nearest frame's time once every globe tile drawn shows that
frame's own imagery (`src/render/cesium/imageryFrames.js`). The checks
`globe.imagery.frames` and `globe.imagery.video` cover both.