Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVCaptureDeviceMBS class.
AVCaptureDeviceMBS.transportControlsPlaybackMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property is only valid for devices that support transport control.
You can observe changes to the value of this property using key-value observing.
(Read only property)
Some examples using this property:
AVCaptureDeviceMBS.transportControlsSpeed as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
For devices that support transport control, the value of this property indicates the current playback speed of the deck. The following table gives examples of the meaning of values:
Value | Meaning |
0.0 | Stopped |
1.0 | Forward at normal speed. |
-1.0 | Reverse at normal speed. |
2.0 | Forward at 2x normal speed. |
You can observe changes to the value of this property using key-value observing.
(Read only property)
Some examples using this property:
AVCaptureDeviceMBS.transportControlsSupported as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
For devices with transport controls, such as AVC tape-based camcorders or pro capture devices with RS422 deck control, the value of this property is true. If transport controls are not supported, none of the associated transport control methods and properties are available on the receiver.
You can observe changes to the value of this property using key-value observing.
(Read only property)
Some examples using this property:
AVCaptureDeviceMBS.transportType as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The value of this property represents the transport type of the device (USB, PCI, etc). Transport types are defined in <IOKit/audio/IOAudioTypes.h> as kIOAudioDeviceTransportType*.
(Read only property)
AVCaptureDeviceMBS.uniqueID as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Every available capture device has a unique ID that persists on one system across device connections and disconnections, application restarts, and reboots of the system itself. You can store the value returned by this property to recall or track the status of a specific device in the future.
(Read only property)
AVCaptureDeviceMBS.videoZoomFactor as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 22.2 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
This value is a multiplier. For example, a value of 2.0 doubles the size of an image’s subject (and halves the field of view). Allowed values range from 1.0 (full field of view) to the value of the active format’s videoMaxZoomFactor property. Setting the value of this property jumps immediately to the new zoom factor. For a smooth transition, use the rampToVideoZoomFactor method.
(Read and Write property)
AVCaptureDeviceMBS.whiteBalanceMode as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Before changing the value of this property, you must call lockForConfiguration to acquire exclusive access to the device's configuration properties. If you do not, setting the value of this property raises an exception. When you are done configuring the device, call unlockForConfiguration to release the lock and allow other devices to configure the settings.
You can observe changes to the value of this property using key-value observing.
See "AVCaptureWhiteBalanceMode" for possible values.
(Read and Write property)
Some examples using this property:
The items on this page are in the following plugins: MBS AVFoundation Plugin.