HyperCodecs.Platform
1.1.0
See the version list below for details.
dotnet add package HyperCodecs.Platform --version 1.1.0
NuGet\Install-Package HyperCodecs.Platform -Version 1.1.0
<PackageReference Include="HyperCodecs.Platform" Version="1.1.0" />
<PackageVersion Include="HyperCodecs.Platform" Version="1.1.0" />
<PackageReference Include="HyperCodecs.Platform" />
paket add HyperCodecs.Platform --version 1.1.0
#r "nuget: HyperCodecs.Platform, 1.1.0"
#:package HyperCodecs.Platform@1.1.0
#addin nuget:?package=HyperCodecs.Platform&version=1.1.0
#tool nuget:?package=HyperCodecs.Platform&version=1.1.0
HyperCodecs.Platform
Operating system sound output and hardware video decoding for HyperCodecs. The managed decoders in HyperCodecs need no native library. This package adds the parts that talk to the system.
The package has one build for each system, and each build holds only that system's code. NuGet picks the build that matches your target framework.
| Your target framework | Sound output | Hardware video (H.264, H.265) |
|---|---|---|
net10.0-windows10.0.19041.0, net11.0-windows10.0.19041.0 |
WASAPI | Media Foundation |
net10.0-ios, -tvos, -macos, -maccatalyst and the net11.0 ones |
Audio Toolbox | VideoToolbox |
net10.0-android36.0, net11.0-android37.0 |
AudioTrack | MediaCodec (hardware decoders only) |
Linux has no target framework of its own, so it is in HyperCodecs.Platform.Linux (PulseAudio or PipeWire, and VA-API). The plain net10.0 and net11.0 builds of this package have no system code. Target the Windows, Apple or Android framework to get it.
Use
using HyperCodecs.Platform.Audio;
using HyperCodecs.Platform.Video;
// A decoder for a picture track: the system's when the picture is large enough to pay for it, otherwise the managed one.
var decoder = PlatformVideoDecoders.Create(track);
// A sound output for the running system, or null when this build has none.
using var output = PlatformAudioOutputs.Create();
IStreamingAudioOutput plays interleaved 32-bit float samples and reports its latency, so a player can keep the picture in step with what is heard. A missing library or device makes Start return false, and the managed decoders stay as the fallback.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-macos26.0 is compatible. net10.0-tvos was computed. net10.0-tvos26.0 is compatible. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. net11.0 is compatible. net11.0-android37.0 is compatible. net11.0-ios27.2 is compatible. net11.0-maccatalyst27.2 is compatible. net11.0-macos27.2 is compatible. net11.0-tvos27.2 is compatible. net11.0-windows10.0.19041 is compatible. |
-
net10.0
- HyperCodecs (>= 1.1.0)
-
net10.0-android36.0
- HyperCodecs (>= 1.1.0)
-
net10.0-ios26.0
- HyperCodecs (>= 1.1.0)
-
net10.0-maccatalyst26.0
- HyperCodecs (>= 1.1.0)
-
net10.0-macos26.0
- HyperCodecs (>= 1.1.0)
-
net10.0-tvos26.0
- HyperCodecs (>= 1.1.0)
-
net10.0-windows10.0.19041
- HyperCodecs (>= 1.1.0)
-
net11.0
- HyperCodecs (>= 1.1.0)
-
net11.0-android37.0
- HyperCodecs (>= 1.1.0)
-
net11.0-ios27.2
- HyperCodecs (>= 1.1.0)
-
net11.0-maccatalyst27.2
- HyperCodecs (>= 1.1.0)
-
net11.0-macos27.2
- HyperCodecs (>= 1.1.0)
-
net11.0-tvos27.2
- HyperCodecs (>= 1.1.0)
-
net11.0-windows10.0.19041
- HyperCodecs (>= 1.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HyperCodecs.Platform:
| Package | Downloads |
|---|---|
|
HyperCodecs.Platform.Linux
PulseAudio (and PipeWire) sound output and VA-API hardware video decoding for HyperCodecs on Linux. |
GitHub repositories
This package is not used by any popular GitHub repositories.