Live-Streaming-Server-Net

build and test Nuget License: MIT

Live-Streaming-Server-Net is a flexible toolset which allows you to build your own live streaming server using .NET.

Features

  • RTMP/RTMPS protocol: Supports the RTMP and RTMPS protocols for streaming audio, video, and data.
  • 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/DASH streams: Allows you to transmux RTMP streams into HLS (HTTP Live Streaming) or DASH (Dynamic Adaptive Streaming over HTTP) streams.
  • 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.

In-Progress

  • Custom Kubernetes Operator and Kubernetes Integration: The objective is to achieve automatic horizontal autoscaling by scaling out the pods when more streams are published, and scaling in the pods when streams are deleted, all without affecting the existing connections.
  • Redis Integration: Integrate with Redis to share stream information among pods in the fleet.

Roadmap

  • Edge Server: Although edge servers are not necessary for serving HLS, they are required for serving RTMP and FLV streams in a cluster configuration.

NuGet Packages

Package Latest Version
LiveStreamingServerNet
LiveStreamingServerNet.Standalone
LiveStreamingServerNet.AdminPanelUI
LiveStreamingServerNet.Flv
LiveStreamingServerNet.Networking
LiveStreamingServerNet.Rtmp
LiveStreamingServerNet.Transmuxer
LiveStreamingServerNet.Transmuxer.AmazonS3
LiveStreamingServerNet.Transmuxer.AzureBlobStorage
LiveStreamingServerNet.Transmuxer.GoogleCloudStorage
LiveStreamingServerNet.Utilities