API-Examples
API-Examples copied to clipboard
OnScreenCaptureInfoUpdated dosen't work
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?
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 The excludeWindowList property is not set. I was wrong. Thanks for the reply.