addIncludedShareWindow abstract method

void addIncludedShareWindow(
  1. int windowID
)

Add specified windows to the inclusion list of screen sharing (for desktop systems only)

This API takes effect only if the type in TRTCScreenCaptureSourceInfo is specified as TRTCScreenCaptureSourceTypeWindow; that is, the feature of additionally including specified windows works only when a window is shared. You can call it before or after startScreenCapture.

Parameters:

  • windowID(int):
    • Window to be shared (which is a window handle HWND on Windows).

Note: The windows added to the inclusion list by this method will be automatically cleared by the SDK after room exit.

Implementation

void addIncludedShareWindow(int windowID);