Ledon.Streaming 0.0.1

dotnet add package Ledon.Streaming --version 0.0.1
                    
NuGet\Install-Package Ledon.Streaming -Version 0.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ledon.Streaming" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ledon.Streaming" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Ledon.Streaming" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ledon.Streaming --version 0.0.1
                    
#r "nuget: Ledon.Streaming, 0.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ledon.Streaming@0.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ledon.Streaming&version=0.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Ledon.Streaming&version=0.0.1
                    
Install as a Cake Tool

Ledon.Streaming

进程内独立实现的流媒体能力:RTMP 推拉流、HTTP-FLV、HLS 切片、令牌鉴权、在线状态、事件与踢人。 不依赖 SRS / ZLMediaKit 等外部媒体服务器。

快速开始

builder.Services.AddLedonStreaming(o =>
{
    o.Secret = "<从配置中心注入>";
    o.PublicRtmpUrl = "rtmp://media.example.com";
    o.PublicHttpUrl = "http://media.example.com";
});

builder.Services.Configure<RtmpServerOptions>(o =>
{
    o.Port = 1935;
    o.RequirePublishToken = true;
});

OBS / ffmpeg 推 rtmp://host:1935/live/name;播放:

  • http://host/live/name.flv(flv.js)
  • http://host/live/name.m3u8(Safari / 原生 HLS)

能力

  • RTMP 服务端:握手、分块流、命令、保活、连接上限、推拉流鉴权;
  • StreamHub:GOP 缓存、背压、过期清扫;
  • HTTP-FLV / HLS 端点;
  • IStreamTokenService + StreamUrlBuilder:推流/播放地址与令牌;
  • IStreamRegistry:在线状态(谁在推、几个人在看);
  • IStreamEventHandler:Publish / Unpublish / Play / Stop 事件;
  • IStreamControl:查询在线流、踢断推流/播放连接。

边界

  • 不内置 WebRTC(无 ICE/DTLS/SRTP、无 WHIP/WHEP 端点);
  • 不做转码/混流;需要时用独立服务实现并接入事件;
  • 在线状态默认进程内,多实例可替换 IStreamRegistry。

完整文档:https://github.com/wosledon/ledon-framework

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1 50 10/28/2026