![]() |
VOOZH | about |
dotnet add package TouchSocketPro.Dmtp.PixStream --version 4.2.14
NuGet\Install-Package TouchSocketPro.Dmtp.PixStream -Version 4.2.14
<PackageReference Include="TouchSocketPro.Dmtp.PixStream" Version="4.2.14" />
<PackageVersion Include="TouchSocketPro.Dmtp.PixStream" Version="4.2.14" />Directory.Packages.props
<PackageReference Include="TouchSocketPro.Dmtp.PixStream" />Project file
paket add TouchSocketPro.Dmtp.PixStream --version 4.2.14
#r "nuget: TouchSocketPro.Dmtp.PixStream, 4.2.14"
#:package TouchSocketPro.Dmtp.PixStream@4.2.14
#addin nuget:?package=TouchSocketPro.Dmtp.PixStream&version=4.2.14Install as a Cake Addin
#tool nuget:?package=TouchSocketPro.Dmtp.PixStream&version=4.2.14Install as a Cake Tool
基于DMTP协议的像素流图像传输扩展(专业版)。
BGR24,每像素3字节,行优先存储。
// 实现 IPixStreamProvider 接口
class MyCameraProvider : IPixStreamProvider
{
public bool TryGetCurrentFrame(out int width, out int height, out byte[] pixelData)
{
// 返回最新捕获的帧数据(BGR24格式)
...
}
}
// 注册功能并设置提供者
pluginManager.UseDmtpPixStream().SetProvider(new MyCameraProvider());
// 直连获取
var frame = await client.GetDmtpPixStreamActor().GetPixFrameAsync(cancellationToken);
// 路由获取
var frame = await client.GetDmtpPixStreamActor().GetPixFrameAsync(targetId, cancellationToken);
if (frame != null)
{
// frame.Width, frame.Height, frame.PixelData (BGR24)
// frame.FrameType 指示本次是完整帧还是增量合成帧
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.2.14 | 85 | 6/14/2026 |
| 4.2.13 | 92 | 6/7/2026 |
| 4.2.12 | 95 | 5/30/2026 |
| 4.2.11 | 100 | 5/23/2026 |
| 4.2.10 | 102 | 5/15/2026 |
| 4.2.9 | 105 | 5/10/2026 |
| 4.2.8 | 96 | 5/4/2026 |
| 4.2.7 | 119 | 4/26/2026 |
| 4.2.6 | 107 | 4/25/2026 |
| 4.2.4 | 119 | 4/19/2026 |
| 4.2.3 | 109 | 4/12/2026 |
| 4.2.2 | 101 | 4/11/2026 |
| 4.2.1 | 124 | 4/4/2026 |
| 4.2.0 | 113 | 3/29/2026 |
| 4.2.0-beta.26 | 67 | 3/29/2026 |
| 4.2.0-beta.23 | 61 | 3/26/2026 |
| 4.2.0-beta.22 | 64 | 3/25/2026 |