Package Exports
- @stormstreaming/broadcaster-core
- @stormstreaming/broadcaster-core/dist/esm/index.js
- @stormstreaming/broadcaster-core/dist/iife/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@stormstreaming/broadcaster-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
StormBroadcaster Core
Headless low-latency video broadcaster engine for Storm Streaming Server & Cloud. No UI included — designed for custom broadcaster implementations.
For a ready-to-use player with controls, see @stormstreaming/broadcaster-ui.
Installation
npm install @stormstreaming/broadcaster-coreQuick Start
import { StormBroadcasterCore } from "@stormstreaming/broadcaster-core";
const broadcaster = new StormBroadcasterCore({
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%"
}
}
});
broadcaster.addEventListener("broadcasterReady", () => console.log("Ready!"));
broadcaster.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/broadcaster-ui | Full player with UI controls |
| @stormstreaming/broadcaster-react | React wrapper |
License
See LICENSE