Segment Pool Delivery Network
Drop-in peer-to-peer delivery for your existing HLS player. Keep your CDN, your player, your auth — just add two script tags and watch your bandwidth bill collapse.
Both run on the same multi-edge backend. The difference is who owns the manifest + segment hosting — and consequently, who pays the bandwidth bill.
Bring your own CDN. P2P-only billing.
spdn-p2p.js next to your hls.js playerSource URL in, embed iframe out. We host everything.
The browser SDK hijacks your player's segment loader so chunks flow between viewers over WebRTC. Cache-miss segments fall back to your origin exactly the way they do today — no change to your manifest, no change to your auth, no change to your DRM.
<!-- 1. Load hls.js (or your player; Clappr / Video.js / JW Player all use hls.js underneath) --> <script src="https://cdn.jsdelivr.net/npm/hls.js@1.5.13/dist/hls.min.js"></script> <!-- 2. Load the SPDN SDK --> <script src="https://spdn.tv/sdk/spdn-p2p.js"></script> <video id="player" controls></video> <script> // 3. Auth + open a session — pulls an app token from the dashboard const spdn = new SPDN({ token: "spdn_app_YOUR_TOKEN_HERE", streamId: "live-channel-1" }); // 4. Hand any hls.js instance to the SDK; mesh starts on the next segment. spdn.ready.then(() => { const hls = new Hls(); hls.attachMedia(document.getElementById("player")); spdn.attachToHls(hls); hls.loadSource("https://your-cdn.example.com/live.m3u8"); }); </script>
Anything built on hls.js works today. Native iOS Safari + non-HLS engines (Shaka, dash.js) are on the roadmap; ping us if you need one.
SPDN's infrastructure carries zero video bytes. The mesh delivers the offloadable fraction (typically 60–90%); the remainder falls back to your CDN over the same URLs as before. You only pay for what the mesh delivers — that's the saving, not the bill.
Create a free SPDN account — no credit card. Same dashboard powers both Lite and Pro.
Dashboard → Developer → SDK Tokens → Create. Drop in your customer-facing domain(s); rotate any time.
Quickstart snippet above. Reload your page, open DevTools → Network, watch chunks come in over WebRTC instead of HTTP.
Beyond the browser SDK, SPDN exposes a REST API for server-to-server use:
create rooms, manage allowed domains, query stream stats, configure webhooks.
Authenticated with the same dashboard via X-API-Key headers.
Tell us which player you're on and how much traffic you're moving today. We'll size a Lite or Pro plan, walk through the integration, and stand up your first stream.
hello@spdn.tv