All Projects → gkozlenko → Node Media Server

gkozlenko / Node Media Server

Licence: mit
Node.js Media Server / VOD / HLS / DRM

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Node Media Server

Zlmediakit
WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181 server and client framework based on C++11
Stars: ✭ 5,248 (+10610.2%)
Mutual labels:  mp4, flv, hls
Media Server
RTSP/RTP/RTMP/FLV/HLS/MPEG-TS/MPEG-PS/MPEG-DASH/MP4/fMP4/MKV/WebM
Stars: ✭ 1,363 (+2681.63%)
Mutual labels:  mp4, flv, hls
Node Video Lib
Node.js Video Library / MP4 & FLV parser / MP4 builder / HLS muxer
Stars: ✭ 264 (+438.78%)
Mutual labels:  mp4, flv, hls
Chimee
a video player framework aims to bring wonderful experience on browser
Stars: ✭ 2,332 (+4659.18%)
Mutual labels:  mp4, flv, hls
Xgplayer
A HTML5 video player with a parser that saves traffic
Stars: ✭ 4,792 (+9679.59%)
Mutual labels:  mp4, flv, hls
ZLMediaKit
WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11
Stars: ✭ 7,790 (+15797.96%)
Mutual labels:  mp4, hls, flv
RokuKast
A Chrome extension to stream web videos to Roku devices.
Stars: ✭ 63 (+28.57%)
Mutual labels:  mp4, hls
tms
tms(toy media server) is a toy media server for myself learning media develop. Just for fun.
Stars: ✭ 29 (-40.82%)
Mutual labels:  hls, flv
Chimee Player
A complete set of H5 player. 这是一套包含UI插件、FLV和HLS解码器的快速上手解决方案,可以按您的业务场景适当调整依赖后重新构建打包。
Stars: ✭ 271 (+453.06%)
Mutual labels:  flv, hls
Mxreality.js
普通全景视频,直播全景视频,hls和flv全景VR视频直播,全景图片、VR模型、多终端自适应
Stars: ✭ 386 (+687.76%)
Mutual labels:  flv, hls
hello-muiplayer
💡 一款优秀的 HTML5 视频播放器框架
Stars: ✭ 268 (+446.94%)
Mutual labels:  hls, flv
Red5 Server
Red5 Server core
Stars: ✭ 3,008 (+6038.78%)
Mutual labels:  mp4, flv
Node Media Server
A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
Stars: ✭ 4,433 (+8946.94%)
Mutual labels:  flv, hls
sms
rtmp server and super media server whith golang.
Stars: ✭ 65 (+32.65%)
Mutual labels:  hls, flv
cordova-plugin-tencent-liteav
A cordova plugin for video playing with Tencent's LiteAV SDK. Support RTMP/HLS/FLV/MP4.
Stars: ✭ 24 (-51.02%)
Mutual labels:  hls, flv
Monibuca
🧩 Monibuca is a Modularized, Extensible framework for building Streaming Server
Stars: ✭ 307 (+526.53%)
Mutual labels:  flv, hls
Mediatoolkit
A .NET library to convert and process all your video & audio files.
Stars: ✭ 492 (+904.08%)
Mutual labels:  mp4, flv
Mediaelement
HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.
Stars: ✭ 7,767 (+15751.02%)
Mutual labels:  mp4, hls
Clappr
🎬 An extensible media player for the web.
Stars: ✭ 5,436 (+10993.88%)
Mutual labels:  mp4, hls
HJPlayer
A HTML5 Player, can play flv and hls by Media Source Extension, based on typescript.
Stars: ✭ 149 (+204.08%)
Mutual labels:  hls, flv

node-media-server

Build Status Maintainability GitHub License Donate using PayPal Buy me a Coffee

Node.js Media Server / VOD / HLS / DRM

Installation

git clone https://github.com/gkozlenko/node-media-server.git
cd node-media-server
npm install

Configuration

Config is located in the config/index.js file.

const config = {
    // Host and port for bidding
    host: '0.0.0.0',
    port: 3000,

    // Path to static files
    publicPath: path.resolve('./public'),
    // Path to video files
    mediaPath: path.resolve('./media'),
    // Path to index files
    indexPath: path.resolve('./index'),
    // Path to log files
    logsPath: path.resolve('./logs'),

    // Video chunk duration
    fragmentDuration: 10,

    // DRM configuration
    drmEnabled: false,
    drmSeed: 'DRM SEED',

    // Logger configuration
    logLevel: intel.DEBUG,
    logSize: '50m',
    logKeep: 10,

    shutdownInterval: 1000,

    workers: {
        // Server Worker
        web: {
            enabled: true,
            count: require('os').cpus().length,
            shutdownTimeout: 5000,
        },
        // Movie indexer Worker
        indexer: {
            enabled: true,
            count: 1,
            timeout: 5000,
        },
    },
};

Running

npm start

Usage

Use such URL to play a video file using HLS protocol:

http://host:port/vod/FILE_NAME/playlist.m3u8
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].