API-Examples icon indicating copy to clipboard operation
API-Examples copied to clipboard

OnScreenCaptureInfoUpdated dosen't work

Open seungsunkim opened this issue 2 years ago • 2 comments

I used the StartScreenCaptureByScreenRect function to start sharing the screen. The OnScreenCaptureInfoUpdated event is supposed to be triggered when I start sharing the screen, but the trigger event doesn't come on.

How can I solve this?

seungsunkim avatar Mar 31 '22 01:03 seungsunkim

Per the documentation, when you call startScreenCaptureByDisplayId or startScreenCaptureByScreenRect to start screen sharing and use the excludeWindowList attribute to block the specified window, the SDK triggers this callback if the window blocking fails.

Have you set the excludeWindowList attribute to specify a list of IDs of windows to be blocked? And are you sure that the window blocking fails?

yamasite avatar May 24 '22 08:05 yamasite

@yamasite The excludeWindowList property is not set. I was wrong. Thanks for the reply.

seungsunkim avatar May 24 '22 09:05 seungsunkim