Node-Media-Server is a high-performance/low-latency/open-source Live Streaming Server developed based on Nodejs.
v4 is design to implement enhanced RTMP FLV v1 support for native HEVC, VP9, AV1.
v4 is no longer compatible with the cn_cdn extension id flv_265 standard.
v4 is no longer compatible with flashplayer's rtmp protocol.
v4 is incompatible with v2. Do not upgrade across major versions.
npm install node-media-server -g
or run directly
npx node-media-server
- HTTP/HTTP2-flv Push/Play
- RTMP/RTMPS Push/Play
- GOP cache
- Notification
- Authentication
- HTTP-API
- Rtmp Relay
Client | H.264 | HEVC | VP9 | AV1 |
---|---|---|---|---|
OBS_29.1+ | ✅ | ✅ | ❌ | ✅ |
FFmpeg/FFplay_6.1+ | ✅ | ✅ | ✅ | ✅ |
NodePlayer.js_1.0+ | ✅ | ✅ | ❌ | ❌ |
NodeMediaClient_3.0+ | ✅ | ✅ | ❌ | ❌ |
- obs_29.1 or above is required
- ffmpeg_6.1 or above is required
ffmpeg -re -i test_265.mp4 -c copy -f flv rtmp://localhost/live/test_265
ffmpeg -re -i test_av1.mp4 -c copy -f flv http://localhost:8000/live/test_av1.flv
ffplay http://localhost:8000/live/test_265.flv
NodePlayer.js pure javascript implementation live streaming player
- ASM.js, WASM, SIMD, WebWorker, WebCodecs, MediaSource multiple technical implementations
- H.264/H.265+AAC/G711 software and hardware decoder
- Ultra-low latency, Under extreme conditions less than 100 milliseconds
- Enhanced HTTP/WS-FLV Protocol, Natively support h.265
- Android/iOS/HarmonyOS/Chrome/Edge/Firefox/Safari, All modern browsers or platforms
Apache 2.0