Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
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.
eyevinn-channel-engine
Advanced tools
The Eyevinn Channel Engine is a microservice that offers the functionality to generate personalized live streams from available VOD content.
A live demonstration of the Channel Engine is available at https://tv.eyevinn.technology/
To install and run an instance of the Eyevinn Channel Engine we have a Docker image available that can be used. The Channel Engine requests from an Asset Manager API what content to play next. This API is not included in this package and needs to be provided seperately. The Asset Manager API needs to provide the Channel Engine with an endpoint /nextVod/PLAYLIST
that returns an JSON object in the following format:
{
"id": ASSETID,
"uri": URI-TO-VOD-HLS,
"title": TITLE
}
This will be the next content to be stitched into the live stream by the engine. To start the Channel Engine run the Docker container and specify with an environment variable the address to the Asset Manager API.
$ docker run -e ASSETMGR_URI=https://assetmgr.example.com -p 8000:8000 eyevinntechnology/channelengine:v1.0.2
The point an HLS video player to playback the URL http://localhost:8000/live/master.m3u8
$ npm install --save eyevinn-channel-engine
To use the Channel Engine in your NodeJS code you initiate the engine like this, and where you also have the possibility to provide a custom asset manager that you have built:
const ChannelEngine = require('eyevinn-channel-engine');
const MyAssetManager = require('./my_asset_manager.js');
/**
* Implements the interface:
*
* getNextVod(sessionId, category) -> { id, title, uri }
* getNextVodById(sessionId, id) -> { id, title, uri }
*
* Example in ./assetmanagers/default.js
*/
const assetManager = new MyAssetManager();
const engine = new ChannelEngine(assetManager);
engine.listen(process.env.PORT || 8000);
FAQs
OTT TV Channel Engine
The npm package eyevinn-channel-engine receives a total of 57 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
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.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.