纯.NET实现的异步RTMP直播服务器, 支持http-flv, HLS

Justin e71f706ab9 Update to .NET 6 3 жил өмнө
DotnetRtmpServer e71f706ab9 Update to .NET 6 3 жил өмнө
TestServer e71f706ab9 Update to .NET 6 3 жил өмнө
DotnetRtmpServer.sln 71d64e0da2 1. Add support for ffmpeg. 3 жил өмнө
README.md d9964369f8 Update README.md 3 жил өмнө

README.md

DotnetRtmpServer

This is a pure .NET RTMP server implementation written in C# with async support.

Features

  • Cross platform support Windows/Linux/Unix.
  • RTMP streaming support.
  • HTTP-FLV support.
  • HLS support (Need ffmpeg)
  • Support gop cache and fast play.
  • Support recording the publishing videos and audios.
  • Support proxy mode.

Performance

Tested with one publisher and 50 player in high performance mode on CPU AMD Ryzen Threadripper 3970X 32-Core Processor, CPU usage 90%.

Tested with one publisher and 500 player in low power mode on CPU AMD Ryzen Threadripper 3970X 32-Core Processor, CPU usage 20%.

Usage

Start the server
   var server = new RtmpServer();
   server.RegisterApp("MyAppName");
   server.Start();

Then you can use rtmp://Your domain or ip/MyAppName/StreamName to push and pull the rtmp stream.