Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVCaptureInputMBS class.

AVCaptureInputMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

AVCaptureInputMBS.ports as AVCaptureInputPortMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The capture input's ports. (read-only)

The array contains one or more instances of AVCaptureInputPort.

Each individual AVCaptureInputPort instance posts an AVCaptureInputPortFormatDescriptionDidChangeNotification when the formatDescription of that port changes.

AVCaptureInputMBS.portWithMediaType(mediaType as string) as AVCaptureInputPortMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Finds the port in the ports array with given mediatype.

Returns nil if not found.

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


The biggest plugin in space...