RTMP/RTMPS protocol: Supports the RTMP and RTMPS protocols for streaming audio, video, and data.
RTMP Relay: Supports relaying RTMP streams between servers, allowing building a scalable RTMP server cluster.
RTMP Client: Provides a client library for connecting to RTMP servers and publishing/subscribing live streams.
HTTP-FLV/WebSocket-FLV with ASP.NET CORE: Provides support for serving FLV live streams using HTTP-FLV and WebSocket-FLV protocols within an ASP.NET Core application.
Transmuxing RTMP streams into HLS streams: Allows you to transmux RTMP streams into HLS (HTTP Live Streaming) streams using the built-in HLS transmuxer.
Transcoding RTMP streams into Adaptive HLS streams: Integrates with FFmpeg to transcode RTMP streams into multiple-bitrate Adaptive HLS streams.
: Provides support for processing the incoming RTMP stream with FFmpeg, for example, to create an MP4 archive.
Integration with FFmpeg
GOP caching: Supports caching the Group of Pictures (GOP) to ensure immediate availability of live streaming content.
Custom authorization: Enables you to implement custom authorization mechanisms for accessing live streams.
Admin panel: Includes an admin panel that provides an user interface for managing and monitoring the live streaming server.
Cloud Storage Integration: Enabling real-time uploading of HLS files to cloud storage services like Azure Blob Storage, Google Cloud Storage, and AWS S3, which ensures scalable and efficient HLS stream distribution through CDN.
Codecs: Supports AVC/H.264, HEVC/H.265, AAC, and MP3 codecs.
Quick Start
Run the RTMP Server
Create a .NET 8 console application project and add the dependencies
using LiveStreamingServerNet;
using Microsoft.Extensions.Logging;
using System.Net;
using var server = LiveStreamingServerBuilder.Create()
.ConfigureLogging(options => options.AddConsole())
.Build();
await server.RunAsync(new IPEndPoint(IPAddress.Any, 1935));
Run the application
dotnet run
Publish a Live Stream
With FFmpeg
Use the following command to publish a video as the live stream using FFmpeg