mediastreamer2 5.4.130
_MSScreenSharingDesc Struct Reference

Data Fields

MSScreenSharingType type
void * native_data

Field Documentation

◆ native_data

void* _MSScreenSharingDesc::native_data

Native data that depend of type.

  1. MS_SCREEN_SHARING_DISPLAY
  • Linux : <uintptr_t> The index of the screen ordered by XineramaQueryScreens.
  • Mac : <CGDirectDisplayID> The display identification that can be retrieved from SCShareableContent.
  • Windows : <uintptr_t> The index of the screen ordered by IDXGIAdapter->EnumOutputs.
  1. MS_SCREEN_SHARING_WINDOW
  • Linux : <Window> The Window object that can be retrieved from XQueryPointer.
  • Mac : <CGWindowID> The window identification that can be retrieved from NSEvent.
  • Windows : <HWND> The window handle that can be retrived from WindowFromPoint.
  1. MS_SCREEN_SHARING_AREA
  • not yet supported.

The documentation for this struct was generated from the following file: