Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGDisplayStreamEventMBS class.

CGDisplayStreamEventMBS.kCGDisplayStreamColorSpace as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

Set the desired CGColorSpace of the output frames.
By default the color space will be that of the display.

CGDisplayStreamEventMBS.kCGDisplayStreamDestinationRect as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

This may be used to request where within the destination buffer the display updates should be placed. Use CGRectCreateDictionaryRepresentation to convert from a CGRect to the value used here.
Note: The coordinate system for the destination rectangle is always specified in output pixels to match the fact that the output buffer size is also specified in terms of pixels.
Defaults to entire buffer

CGDisplayStreamEventMBS.kCGDisplayStreamMinimumFrameTime as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

Request that the delta between frame updates be at least as much specified by this value.
Number in seconds, defaults to zero.

CGDisplayStreamEventMBS.kCGDisplayStreamPreserveAspectRatio as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

Enable/disable the work the Window Server will do to preserve the display aspect ratio. By default the Window Server will assume that it should preserve the original aspect ratio of the source display rect. If the aspect ratio of the source display and the display stream destination rect are not the same, black borders will be inserted at the top/bottom or right/left sides of the destination in order to preserve the source aspect ratio.
Boolean - defaults to true

CGDisplayStreamEventMBS.kCGDisplayStreamQueueDepth as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

Controls how many frames deep the frame queue will be.
Defaults to 3.

CGDisplayStreamEventMBS.kCGDisplayStreamShowCursor as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Controls whether the cursor is embedded within the provided buffers or not.

CGDisplayStreamEventMBS.kCGDisplayStreamSourceRect as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

This may be used to request a subregion of the display to be provided as the source of the display stream. Use CGRectCreateDictionaryRepresentation to convert from a CGRect to the value used here. N
Note: The coordinate system for the source rectangle is specified in display logical coordinates and not in pixels, in order to match the normal convention on HiDPI displays.
Defaults to entire display.

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys for the properties dictionary.

When outputting frames in 420v or 420f format, this key may be used to control which YCbCr matrix is used
The value should be one of the three kCGDisplayStreamYCbCrMatrix values specified below:
kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995
kCGDisplayStreamYCbCrMatrix_ITU_R_709_2
kCGDisplayStreamYCbCrMatrix_ITU_R_601_4

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix_ITU_R_601_4 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A possible value for kCGDisplayStreamYCbCrMatrix key.

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix_ITU_R_709_2 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A possible value for kCGDisplayStreamYCbCrMatrix key.

CGDisplayStreamEventMBS.kCGDisplayStreamYCbCrMatrix_SMPTE_240M_1995 as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreGraphics MBS MacCG Plugin 16.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A possible value for kCGDisplayStreamYCbCrMatrix key.

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...