Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.03 KB

File metadata and controls

23 lines (14 loc) · 1.03 KB

FLV stream player example

run it in your browser

A standalone HTML page for low-latency playback of FLV streams from flespi media server using mpegts.js.

Example: flv-player.html

Usage

Open flv-player.html in your browser and pass the stream UUID as a URL hash:

flv-player.html#your-stream-uuid-here

The player will automatically connect to https://media.flespi.io/{uuid} and start playback.

Features

  • Low-latency playback — stash buffer disabled, latency target ~0.5s
  • Latency chaser — automatically adjusts playback rate (1.05x–2.0x) to keep up with the live edge
  • Stall recovery — skips buffer gaps and seeks to live edge on prolonged stalls
  • Live stats overlay — shows current latency and playback rate in the top-right corner
  • No dependencies to install — mpegts.js is loaded from CDN