fix(live): show the offline state when a stream is not live fix/streamplace-offline-main

The native player only re-checked its 10s offline threshold on a new error event, and retries with the same source can produce none, so the overlay never appeared. Use a timer like the web player, and show the offline state immediately when the player is failing and the websocket already says the stream is not live (ended, or its last segment is stale). Date segments by their startTime so the stale segment in the connect burst no longer reads as live.


Author Rishi Balakrishnan Date Commit Parent bfa1e63e
+94 -17
6 changed files
+94 -17
6 changed files