Appearance
Player SDKs
xStreams provides player SDKs for every major platform. All SDKs share the same core features:
- HLS live playback with automatic quality selection
- Token-based playback protection
- Server-side ad insertion (SSAI) support
- Silent token refresh (no playback interruption)
Available SDKs
| Platform | SDK | Current Version |
|---|---|---|
| Web | hls.js Edition | v1.1.0 |
| Web | Shaka Edition | v2.1.0 |
| Android | Android SDK | v1.0.0 |
| iOS | iOS SDK | v1.0.0 |
| Flutter | Flutter SDK | v1.0.0 |
Which web SDK should I use?
- Shaka Edition — recommended for new projects. Uses HLS Interstitials for ad insertion (no polling, no client-side logic). Requires Shaka Player 4+.
- hls.js Edition — uses SCTE-35 discontinuity injection. Works on all browsers via hls.js 1.6+. Better if you already use hls.js in your app.
Both web SDKs have the exact same public API. You can switch between them by changing the script tag.
CDN
All SDKs are hosted on cdn.xstreams.io. See CDN & Versioning for details.