项目作者: illuspas

项目描述 :
A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
高级语言: JavaScript
项目地址: git://github.com/illuspas/Node-Media-Server.git
创建时间: 2015-01-19T02:13:03Z
项目社区:https://github.com/illuspas/Node-Media-Server

开源协议:MIT License

下载


Node-Media-Server v4

npm
npm
npm
npm

Introduction

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.

Installation

  1. npm install node-media-server -g

or run directly

  1. npx node-media-server

Features

  • HTTP/HTTP2-flv Push/Play
  • RTMP/RTMPS Push/Play
  • GOP cache
  • Notification
  • Authentication

Roadmap

  • HTTP-API
  • Rtmp Relay

Supported clients

Client H.264 HEVC VP9 AV1
OBS_29.1+
FFmpeg/FFplay_6.1+
NodePlayer.js_1.0+
NodeMediaClient_3.0+

Usage

  • obs_29.1 or above is required
  • ffmpeg_6.1 or above is required

Push Streaming

  1. ffmpeg -re -i test_265.mp4 -c copy -f flv rtmp://localhost/live/test_265
  1. ffmpeg -re -i test_av1.mp4 -c copy -f flv http://localhost:8000/live/test_av1.flv

Play Streaming

  1. ffplay http://localhost:8000/live/test_265.flv

License

Apache 2.0