logo
On this page

Why does the area capture setting fail?

2021-09-09
Products / Plugins:Screen sharing
Platform / Framework:macOS

The "zego_screencapture_set_target_window_rect" interface must be called before the "zego_screencapture_set_target_screen" interface.

Note

The following methods should be used in pairs:

  • If users only need to capture the desktop screen without filtering windows and only capture the screen area, it is recommended to use: "zego_screencapture_set_target_screen" and "zego_screencapture_set_target_rect".
  • If users need to capture windows, window areas, filter windows, capture screens and need to filter windows, it is recommended to use: "zego_screencapture_set_target_window" and "zego_screencapture_set_target_window_rect".

Previous

How to solve the problem of interactive whiteboard SDK login failure on the Web platform?

Next

How to get the stack trace information of ZIM SDK?