SPDN SDK Demo

Hls.js + /sdk/spdn-p2p.js — paste an app token, paste a stream URL, hit Start. Use this page to validate your SDK integration before wiring it into your real player.
Player
idle
Status
0.0 MB
↓ via P2P
0.0 MB
↓ via Origin
Configuration
Want to integrate this in your own page? (Copy-paste snippet)
<script src="https://cdn.jsdelivr.net/npm/hls.js@1.5.13/dist/hls.min.js"></script>
<script src="https://spdn.tv/sdk/spdn-p2p.js"></script>
<video id="player" controls></video>
<script>
  const spdn = new SPDN({
    token:    "spdn_app_YOUR_TOKEN_HERE",
    streamId: "your-stream-id"
  });
  spdn.ready.then(() => {
    const hls = new Hls();
    hls.attachMedia(document.getElementById("player"));
    spdn.attachToHls(hls);
    hls.loadSource("https://your-cdn.com/live.m3u8");
  });
</script>
Diagnostic Log
--:--:--idle — paste a token and hit Start.