TRTCScreenCaptureSourceInfo

TRTCScreenCaptureSourceInfo

3.5 Screen capturing source information

Constructor

new TRTCScreenCaptureSourceInfo(type, sourceId, sourceName, thumbBGRA, iconBGRA, isMinimizeWindow)

Parameters:
Name Type Description
type TRTCScreenCaptureSourceType

capturing source type (i.e., whether to share the entire screen or a certain window)

sourceId String

capturing source ID. For a window, this field indicates a window ID; for a screen, this field indicates a display ID.

sourceName String

capturing source name (encoded in UTF-8)

thumbBGRA TRTCImageBuffer

thumbnail of the shared window

iconBGRA TRTCImageBuffer

icon of the shared window

isMinimizeWindow Boolean

is minimized window or not