Add Desktop Duplication API
kishorviswanathan opened this issue · 6 comments
Can anyone add the Desktop Duplication API which is much faster than the current method. It could achieve 60 fps on even low end PCs.
Adding Desktop Duplication will limit jsmpep-vnc work only Windows 8.1 and above. It isn't implemented in Windows 7 and later version.
Actually I'm pretty sure it's just window 8, not 8.1, but even then you have a good point
AFAIK, this link https://code.msdn.microsoft.com/windowsdesktop/Desktop-Duplication-Sample-da4c696a says Windows 8.1 works with DXGI.
Oh, my bad 😁
Could we implement both? A pollyfill?
I'm finishing other projects,so after that I think I can add DXGI screen capture in Jsmpeg-vnc and do a pull request
@eipeipkrop7992 As a side note, I don't think @phoboslab is even merging pull requests into this repository anymore. At least It doesn't seem like that, so it would be great if you can also open a PR here when it's done: https://github.com/Integrated-Media/jsmpeg-vnc