Headless low-latency video player engine for Storm Streaming Server & Cloud. No UI included — designed for custom player implementations.
For a ready-to-use player with controls, see @stormstreaming/player-ui.
npm install @stormstreaming/player-coreimport { StormPlayerCore } from "@stormstreaming/player-core";
const player = new StormPlayerCore({
stream: {
serverList: [
{ host: "your-server.com", application: "live", port: 443, ssl: true }
],
streamKey: "your-stream"
},
settings: {
autoStart: true,
video: {
containerID: "video-container",
aspectRatio: "16:9",
width: "100%"
}
}
});
player.addEventListener("playbackStart", () => console.log("Playing!"));
player.initialize();<div id="video-container"></div>Available as ESM, IIFE, UMD, and CJS. TypeScript definitions included.
Chrome 31+ · Firefox 42+ · Safari 13+ · Edge 12+ · Opera 15+
Legacy browsers fall back to HLS mode.
| Package | Description |
|---|---|
| @stormstreaming/player-ui | Full player with UI controls |
| @stormstreaming/player-react | React wrapper |
See LICENSE