Node-Media-Server is a Node.js live streaming server supporting RTMP, HTTP-FLV, and WebSocket-FLV ingest and playback. Version 4 adds enhanced codecs, a REST API, and a web admin UI.
Overview
Node-Media-Server handles low-latency live video pipelines from a Node.js process. It pushes and plays streams over RTMP, RTMPS, HTTP-FLV, WebSocket-FLV, and related transports, with GOP caching and authentication hooks.
Version 4 emphasizes enhanced RTMP for HEVC, VP9, and AV1 in FLV workflows and is not backward compatible with v2. Operators can record streams to FLV on disk, serve static files from a configured directory, and use recordings for on-demand playback when recording paths overlap static hosting.
Recent releases add JWT-backed REST APIs, session management, relay tasks, bandwidth statistics, and a web admin dashboard for streams, records, relays, and settings. Username and password login uses scrypt hashing with rate limiting.
Install via npm or run the packaged CLI directly. Client compatibility notes cover OBS, FFmpeg, and companion JavaScript players from the same author.
Key features
- RTMP and HTTP-FLV push and play
- HEVC, VP9, and AV1 in v4 FLV path
- GOP cache and stream authentication
- FLV recording and static file serving
- REST API with JWT login
- Web admin dashboard
- RTSP and RTMP relay tasks
Use cases
- Self-hosted live streaming ingest
- FLV-based low-latency playback
- Recording broadcasts to on-demand FLV