Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
eyevinn-channel-engine
Advanced tools
The Eyevinn Channel Engine is an NPM library that provides the functionality to generate "fake" live HLS stream by stitching HLS VOD's together. The library is provided as open source and this repository includes a basic reference implementation as a guide on how the library can be used.
To use this library in your NodeJS project download and install the library in your project by running the following in your project folder.
$ npm install --save eyevinn-channel-engine
And to run the basic reference implementation included in this repository you run:
$ npm start
Then point your HLS video player to http://localhost:8000/live/master.m3u8?channel=1
to start playing the linear live stream.
Initiate and start the engine as below.
const ChannelEngine = require('eyevinn-channel-engine');
const engine = new ChannelEngine(myAssetManager, { channelManager: myChannelManager });
engine.start();
engine.listen(process.env.port || 8000);
where myAssetManager
and myChannelManager
are classes implementing the interfaces below.
class MyAssetManager {
getNextVod({ sessionId, category, playlistId }) -> { id, title, uri, offset }
handleError(err, vodResponse)
}
class MyChannelManager {
getChannels() -> [ { id, name, profile? } ]
}
Find a simplistic reference implementation for guidance in ./server.js
.
Available options when constructing the Channel Engine object are:
defaultSlateUri
: URI to an HLS VOD that can be inserted when a VOD for some reason cannot be loaded.slateRepetitions
: Number of times the slate should be repeated.redisUrl
: A Redis DB URL for storing states that can be shared between nodes.heartbeat
: Path for heartbeat requestschannelManager
: A reference to a channel manager object.Visit Consuo for a demonstration of this concept. A demo and proof-of-concept built on top of this library.
If you want help to get started to build a service of your own based on this library you can hire an Eyevinn Video-Dev Team to help you out.
Eyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor.
At Eyevinn, every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This give us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community.
Want to know more about Eyevinn and how it is to work here. Contact us at work@eyevinn.se!
FAQs
OTT TV Channel Engine
The npm package eyevinn-channel-engine receives a total of 65 weekly downloads. As such, eyevinn-channel-engine popularity was classified as not popular.
We found that eyevinn-channel-engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.