Platforms to show: All Mac Windows Linux Cross-Platform
AVCaptureSessionMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Capture inputs (instances of AVCaptureInput) have one or more input ports (instances of AVCaptureInputPort). Capture outputs (instances of AVCaptureOutput) can accept data from one or more sources (for example, an AVCaptureMovieFileOutput object accepts both video and audio data).
You can only add an AVCaptureConnection instance to a session using addConnection if canAddConnection returns true. When using addInput or addOutput, connections are formed automatically between all compatible inputs and outputs. You only need to add connections manually when adding an input or output with no connections. You can also use connections to enable or disable the flow of data from a given input or to a given output.
- 2 properties
- property Handle as Integer
- property sessionPreset as string
- 20 methods
- method addConnection(connection as AVCaptureConnectionMBS)
- method addInput(connection as AVCaptureInputMBS)
- method addInputWithNoConnections(input as AVCaptureInputMBS)
- method addOutput(connection as AVCaptureOutputMBS)
- method addOutputWithNoConnections(output as AVCaptureOutputMBS)
- method beginConfiguration
- method canAddConnection(connection as AVCaptureConnectionMBS) as boolean
- method canAddInput(input as AVCaptureInputMBS) as boolean
- method canAddOutput(input as AVCaptureOutputMBS) as boolean
- method canSetSessionPreset(preset as string) as boolean
- method commitConfiguration
- method Constructor
- method inputs as AVCaptureInputMBS()
- method isRunning as boolean
- method outputs as AVCaptureOutputMBS()
- method removeConnection(connection as AVCaptureConnectionMBS)
- method removeInput(connection as AVCaptureInputMBS)
- method removeOutput(connection as AVCaptureOutputMBS)
- method startRunning
- method stopRunning
- shared method available as boolean
This class has no sub classes.
Some methods using this class:
- AVCaptureVideoPreviewLayerMBS.Constructor(session as AVCaptureSessionMBS, WithConnection as boolean = true)
- AVCaptureVideoPreviewLayerMBS.layerWithSession(session as AVCaptureSessionMBS) as AVCaptureVideoPreviewLayerMBS
- AVCaptureVideoPreviewLayerMBS.layerWithSessionWithNoConnection(session as AVCaptureSessionMBS) as AVCaptureVideoPreviewLayerMBS
- AVCaptureVideoPreviewLayerMBS.setSessionWithNoConnection(session as AVCaptureSessionMBS)
- AVCaptureViewControlMBS.setSession(session as AVCaptureSessionMBS, showVideoPreview as boolean, showAudioPreview as boolean)
- DesktopAVCaptureViewControlMBS.setSession(session as AVCaptureSessionMBS, showVideoPreview as boolean, showAudioPreview as boolean)
Some properties using for this class:
- AVCaptureViewControlMBS.session as AVCaptureSessionMBS
- DesktopAVCaptureViewControlMBS.session as AVCaptureSessionMBS
- AVCaptureVideoPreviewLayerMBS.session as AVCaptureSessionMBS
Some events using this class:
- AVFoundationMBS.CaptureSessionDidStartRunning(session as AVCaptureSessionMBS, notification as Variant)
- AVFoundationMBS.CaptureSessionDidStopRunning(session as AVCaptureSessionMBS, notification as Variant)
- AVFoundationMBS.CaptureSessionRuntimeError(session as AVCaptureSessionMBS, error as NSErrorMBS, notification as Variant)
Some examples using this class:
- /AVFoundation/AVVideoWall
- /AVFoundation/iOS Live QRCode Detect/iOS Live QRCode Detect
- /AVFoundation/Live Barcode Detection
- /AVFoundation/Live Barcode Detection iOS/Live Barcode Detection iOS
- /AVFoundation/Live Barcode Detection with Vision/Live Barcode Detection with Vision
- /AVFoundation/Live picture processing
- /AVFoundation/Recorder
- /AVFoundation/Screen Input
- /AVFoundation/Screen Recorder
- /AVFoundation/Still Photos
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVCaptureScreenInputMBS - AVCaptureStillImageOutputMBS