how to capture windows desktop when screen locked

527 צפיות
מעבר להודעה הראשונה שלא נקראה

Jianjiao Sun

לא נקראה,
1 באפר׳ 2022, 19:33:471.4.2022
עד discuss-webrtc
hello,
    I have used  the gid,dxgi,wgc  to capture desktop on windows 10. I can't capture the "input password desktop".
    
   I have searched the groups, find the topic :"Chromium will soon disable camera capture after screen lock"(https://groups.google.com/g/discuss-webrtc/c/X46ua1nCR3Y/m/nQbxX0JmCAAJ).  the chrome can disable the stop capture feature use command "-disable-features=StopVideoCaptureOnScreenLock." 

  Is any way to enable to capture locked desktop on windows?

Thanks!

Vitaly Ivanov

לא נקראה,
2 באפר׳ 2022, 2:05:492.4.2022
עד discuss...@googlegroups.com
Same question here. I've tried running my native (Windows executable linked against libwebrtc) webrtc app as a service, but it didn't work at all

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/d5a37156-e1ce-4ee8-9be8-0689327eb936n%40googlegroups.com.
ההודעה נמחקה
ההודעה נמחקה

Jianjiao Sun

לא נקראה,
14 באפר׳ 2022, 4:23:5614.4.2022
עד discuss-webrtc
I have found the way to capture the locked screen. It's a privilege problem. If we run as "Local System",  we can capture the locked screen。

For example, WebRTC use the   "DuplicateOutput   api"  to capture secure desktop need  Local System  privilege,   otherwise will get E_ACCESSDENIED error. (https://docs.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgioutput1-duplicateoutput)  

If we only want to test the program , we can use psexec (https://docs.microsoft.com/en-us/sysinternals/downloads/psexec).

Vitaly Ivanov

לא נקראה,
14 באפר׳ 2022, 5:56:1114.4.2022
עד discuss...@googlegroups.com
Thank you for the insights! I can't make it work though, at least on Win 11. It looks like the process gets killed / crashes shortly after I do Lock Screen (I see the lock screen, but in a few seconds I get a connection dropped notification), even though it's running as System

Jianjiao Sun

לא נקראה,
13 ביוני 2022, 23:40:4813.6.2022
עד discuss-webrtc
Recently, We also test on windows 11,    runnning as System works well.  I find Nircmd( https://www.nirsoft.net/utils/nircmd.html ) is more convient for us to run the application as system.
At the same time , we must run as an application , not a service(https://docs.microsoft.com/en-us/windows/win32/services/interactive-services)

Vitaly Ivanov

לא נקראה,
14 ביוני 2022, 0:09:2414.6.2022
עד discuss...@googlegroups.com
Yes, it does work. The app was crashing due to clipboard tracking going haywire in locked state. I haven't tried NirCmd as we started with PsExec and then switched to doing the same thing with Windows API without any external tools. Will check out NirCmd, thanks for sharing info!

Abhilash Vaidhya

לא נקראה,
5 במרץ 2023, 11:09:175.3.2023
עד discuss-webrtc
Hi , Do you use getUserMedia to achieve this ? Even if i launch app as system user , i don't see the UAC screen or screen lock as part of 'getUserMedia' .

Any leads on this will be much appreciated.

--AV

השב לכולם
השב למחבר
העבר לנמענים
0 הודעות חדשות