TqkLibrary.Scrcpy.Wpf
2.5.91
See the version list below for details.
dotnet add package TqkLibrary.Scrcpy.Wpf --version 2.5.91
NuGet\Install-Package TqkLibrary.Scrcpy.Wpf -Version 2.5.91
<PackageReference Include="TqkLibrary.Scrcpy.Wpf" Version="2.5.91" />
<PackageVersion Include="TqkLibrary.Scrcpy.Wpf" Version="2.5.91" />
<PackageReference Include="TqkLibrary.Scrcpy.Wpf" />
paket add TqkLibrary.Scrcpy.Wpf --version 2.5.91
#r "nuget: TqkLibrary.Scrcpy.Wpf, 2.5.91"
#:package TqkLibrary.Scrcpy.Wpf@2.5.91
#addin nuget:?package=TqkLibrary.Scrcpy.Wpf&version=2.5.91
#tool nuget:?package=TqkLibrary.Scrcpy.Wpf&version=2.5.91
TqkLibrary.Scrcpy
A .NET library to mirror the screen and control Android devices, by reusing the scrcpy server.
It pushes the scrcpy server to the device over ADB, then exposes the video, audio and control streams as a managed API. Video is decoded through a small native helper (TqkLibrary.ScrcpyNative) together with FFmpeg.
Features
- Video stream (H.264 / H.265 / AV1)
- Audio stream (Opus / AAC / FLAC / raw)
- Device control: touch, key, text injection, scroll, clipboard (copy / paste, autosync)
- Camera mirroring
- Query device capabilities: list encoders, displays and cameras
Supported scrcpy server versions
Each package bundles a matching scrcpy-server.jar — the server must match the client protocol. The bundled version is exposed by Constant.ScrcpyServerVersion. Pick the package whose version matches the scrcpy server you want to run.
| Package branch | scrcpy server |
|---|---|
| 2.4 | 2.4 |
| 2.5 | 2.5 |
| 2.6 | 2.6.1 |
| 2.7 | 2.7 |
| 3.0 | 3.0 |
| 3.1 | 3.1 |
| 3.2 | 3.2 |
| 3.3 | 3.3.4 |
| 4.0 | 4.0 |
Platform
- Windows x64 / x86 (the native helper
TqkLibrary.ScrcpyNativeships forwin-x64andwin-x86). - Targets: .NET Framework 4.6.2, .NET 6 (Windows), .NET 8 (Windows).
Credits
The bundled scrcpy-server.jar is taken, unmodified, from the scrcpy project by Genymobile (Romain Vimont and contributors). scrcpy is licensed under the Apache License 2.0. All credit for the server goes to the scrcpy authors.
License
TqkLibrary.Scrcpy is licensed under the MIT License — see LICENSE. Your application does not have to be open source to use it.
This software uses libraries from FFmpeg (https://ffmpeg.org) licensed under the LGPL-2.1-or-later; the build is configured without --enable-gpl and contains no x264/x265, because this library only ever decodes (the device does the encoding). Build scripts and sources: https://github.com/tqk2811/FFmpegBuild.
FFmpeg is linked dynamically as separate DLLs, so LGPL-2.1 §6 is satisfied and you may swap in your own FFmpeg build. If you redistribute your application, keep the FFmpeg notice and the LGPL-2.1 text (licenses/LGPL-2.1.txt) with it.
See THIRD-PARTY-NOTICES.txt for the full attribution of FFmpeg and the scrcpy server.
Versions released before this change were licensed under GPL-3.0-or-later (they bundled a GPL FFmpeg build); that license still applies to those older packages.
The bundled scrcpy server (scrcpy-server.jar) is a separate program by Genymobile, executed on the device (not linked into this library), licensed under the Apache License 2.0; see the scrcpy repository for its terms.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.6.2
- TqkLibrary.Scrcpy (>= 2.5.91)
- TqkLibrary.Wpf.Interop.DirectX (>= 1.1.21)
-
net10.0-windows7.0
- TqkLibrary.Scrcpy (>= 2.5.91)
- TqkLibrary.Wpf.Interop.DirectX (>= 1.1.21)
-
net6.0-windows7.0
- TqkLibrary.Scrcpy (>= 2.5.91)
- TqkLibrary.Wpf.Interop.DirectX (>= 1.1.21)
-
net8.0-windows7.0
- TqkLibrary.Scrcpy (>= 2.5.91)
- TqkLibrary.Wpf.Interop.DirectX (>= 1.1.21)
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 |
|---|---|---|
| 4.1.6 | 94 | 8/18/2026 |
| 4.0.124 | 86 | 8/18/2026 |
| 4.0.119 | 102 | 8/6/2026 |
| 3.3.105 | 86 | 8/18/2026 |
| 3.3.100 | 89 | 8/6/2026 |
| 3.3.92 | 83 | 8/5/2026 |
| 3.2.94 | 81 | 8/18/2026 |
| 3.2.89 | 90 | 8/6/2026 |
| 3.1.84 | 83 | 8/18/2026 |
| 3.1.79 | 92 | 8/6/2026 |
| 3.0.106 | 87 | 8/18/2026 |
| 3.0.101 | 98 | 8/6/2026 |
| 2.7.101 | 85 | 8/18/2026 |
| 2.7.96 | 90 | 8/6/2026 |
| 2.6.95 | 90 | 8/18/2026 |
| 2.6.90 | 89 | 8/6/2026 |
| 2.5.91 | 88 | 8/18/2026 |
| 2.5.86 | 96 | 8/6/2026 |
| 2.4.174 | 102 | 8/18/2026 |
| 2.4.171 | 90 | 8/6/2026 |