Skip to content
All news

Keeping screens playing when the network goes down

How the early Android Player distinguishes a lost connection from failed playback.

From the project archive. Written retrospectively; the date above is the date of the development milestone (UTC).

A screen can lose its connection to Tilecast Server and still have everything it needs to play downloaded content. Restarting playback every time the network drops would interrupt content that was working.

The early Android Player recovery system distinguishes connection health from playback health. After a connection has been stable, a later disconnect resets the reconnect backoff rather than continuing from a long delay.

Playback health needs its own evidence. An existing playback session does not mean the display is working: a video could be frozen, or the screen could be blank. The Player records evidence of actual progress, such as advancing video or item transitions, and uses that to decide when recovery is needed.

The recovery work in #83 and the follow-up below establish the distinction between a working offline screen and a screen that needs intervention.

Original development record.