ManagedCodecs.Avalonia
0.18.0
dotnet add package ManagedCodecs.Avalonia --version 0.18.0
NuGet\Install-Package ManagedCodecs.Avalonia -Version 0.18.0
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="ManagedCodecs.Avalonia" Version="0.18.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ManagedCodecs.Avalonia" Version="0.18.0" />
<PackageReference Include="ManagedCodecs.Avalonia" />
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 ManagedCodecs.Avalonia --version 0.18.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ManagedCodecs.Avalonia, 0.18.0"
#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 ManagedCodecs.Avalonia@0.18.0
#: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=ManagedCodecs.Avalonia&version=0.18.0
#tool nuget:?package=ManagedCodecs.Avalonia&version=0.18.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ManagedCodecs.Avalonia
Live cameras in Avalonia, in pure managed C#: LiveView shows a LivePlayer's newest frame (ManagedCodecs.Playback:
MJPEG over HTTP, H.264 or JPEG over RTSP and RTSPS). No native libraries and no codec of the platform's, so it shows
the same picture on Windows, macOS and Linux, and in a trimmed or Native AOT app.
using ManagedCodecs.Avalonia;
using ManagedCodecs.Playback;
var player = new LivePlayer(new RtspSource(new Uri("rtsp://user:password@camera/stream1")));
player.Start();
window.Content = new LiveView { Player = player }; // Stretch.Uniform, as an Image
// ... and when the window closes:
player.Dispose();
- The application owns the player: it makes it (its source, credentials,
CertificateHashfor RTSPS,Audio), starts it and disposes it. The control only shows frames: on each frame Avalonia renders, the newest decoded one, older ones dropped. Several views may show one player in turn, but each frame goes to one of them. - Layout as an
Image:Stretch(Uniformby default) andStretchDirection. - Sound: Avalonia has no way to play raw samples, so
LivePlayer.TakeAudio()is the application's to play. - Requirements: .NET 10 and Avalonia 12.
- More: the repository (README, Live cameras).
| Product | Versions 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.
-
net10.0
- Avalonia (>= 12.1.6)
- ManagedCodecs.Playback (= 0.18.0)
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.18.0 | 227 | 11/16/2026 |