Documentation

Get a stream live in a few minutes. Point a custom domain at Streamline, we cache and deliver it from the edge.

Quickstart

Create a CDN resource, point your delivery hostname at it with a CNAME, and request your first segment.

# 1. Point your delivery domain at the edge app.gracebooster.online. CNAME edge.streamline-cdn.net. # 2. Request a segment — first hit warms the cache (MISS), next is HIT curl -I https://app.gracebooster.online/static/video/playlist.m3u8

Connect an origin

Streamline pulls content from your origin on a cache miss. Set the origin host and keep cache enabled for static media paths.

SettingValue
Origin hostyour-server.example.com
Origin protocolHTTPS
CacheOn for /static/*
Query stringForward to origin

Embed a player

Any HLS-capable player works. Point it at your playlist URL on the delivery domain.

<video id="player" controls></video> <script src="/static/js/hls.min.js"></script> <script> const src = "https://app.gracebooster.online/static/video/playlist.m3u8"; if (Hls.isSupported()) { const hls = new Hls(); hls.loadSource(src); hls.attachMedia(document.getElementById("player")); } else if (player.canPlayType("application/vnd.apple.mpegurl")) { player.src = src; // native HLS (Safari) } </script>

Authentication

API requests use a bearer token from your dashboard. Send it in the Authorization header.

curl https://api.streamline-cdn.net/v1/resources \ -H "Authorization: Bearer sk_live_••••••••"

Purge cache

Invalidate a single path or a whole prefix. Propagates to all edges in under two seconds.

curl -X POST https://api.streamline-cdn.net/v1/purge \ -H "Authorization: Bearer sk_live_••••••••" \ -H "Content-Type: application/json" \ -d '{"paths":["/static/video/*"]}'

Usage stats

Pull egress, hit ratio and latency per region for any time window.

curl "https://api.streamline-cdn.net/v1/stats?from=2026-11-01&to=2026-11-07" \ -H "Authorization: Bearer sk_live_••••••••" # → { "egress_gb": 4210.5, "hit_ratio": 0.981, "p50_ms": 44 }