@stormstreaming/player-core
v1.1.1
Published
Core playback engine for Storm Streaming Server & Cloud. Headless, low-latency, no UI — designed for custom player implementations.
Maintainers
Readme
StormPlayer Core
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.
Installation
npm install @stormstreaming/player-coreQuick Start
import { 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>Module Formats
Available as ESM, IIFE, UMD, UMD, and CJS. TypeScript definitions included.
Documentation
Browser Support
Chrome 31+ · Firefox 42+ · Safari 13+ · Edge 12+ · Opera 15+
Legacy browsers fall back to HLS mode.
Related Packages
| Package | Description | |---------|-------------| | @stormstreaming/player-ui | Full player with UI controls | | @stormstreaming/player-react | React wrapper |
License
See LICENSE
