libwebrtc
libwebrtc copied to clipboard
Get current process window failed when enumerate window in thread_.
hey @chifandeyu, Thanks for your contribution, can you explain under what circumstances the thread error occurs?
@cloudwebrtc After debugging webrtc. I found the function "GetWindowListHandle" call "IsWindowResponding(hwnd)" return false. set "uTimeoutMs = 3000" will still timeout and return false.I haven't found any detailed information for the specific reasons.
hey @chifandeyu, Thanks for your contribution, can you explain under what circumstances the thread error occurs?
I found the problem when the worker thread tries to SendMessageTimeout to check Is window responding but now the main thread is waiting and the main thread is blocking.