phoboslab / jsmpeg-vnc

A low latency, high framerate screen sharing server for Windows and client for browsers
2.37k stars 394 forks source link

Add Desktop Duplication API #43

Open kishorviswanathan opened 7 years ago

kishorviswanathan commented 7 years ago

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.

callTx commented 5 years ago

Adding Desktop Duplication will limit jsmpep-vnc work only Windows 8.1 and above. It isn't implemented in Windows 7 and later version.

BelleNottelling commented 5 years ago

Actually I'm pretty sure it's just window 8, not 8.1, but even then you have a good point

callTx commented 5 years ago

AFAIK, this link https://code.msdn.microsoft.com/windowsdesktop/Desktop-Duplication-Sample-da4c696a says Windows 8.1 works with DXGI.

BelleNottelling commented 5 years ago

Oh, my bad 😁 Could we implement both? A pollyfill?

callTx commented 5 years ago

I'm finishing other projects,so after that I think I can add DXGI screen capture in Jsmpeg-vnc and do a pull request

BelleNottelling commented 5 years ago

@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