Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVFoundationMBS class.
AVFoundationMBS.available as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true on Mac OS X 10.7 and newer.
AVFoundationMBS.AVAudioBitRateStrategy_Constant as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.9 and later.
AVFoundationMBS.AVAudioBitRateStrategy_LongTermAverage as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.9 and later.
AVFoundationMBS.AVAudioBitRateStrategy_Variable as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.9 and later.
AVFoundationMBS.AVAudioBitRateStrategy_VariableConstrained as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in OS X v10.9 and later.
AVFoundationMBS.AVAudioFileTypeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 18.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Value is an integer (audio file type) from AudioFile.h
Available on MacOS 10.13 or newer.
AVFoundationMBS.AVAudioTimePitchAlgorithmSpectral as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Highest quality, most computationally expensive. Suitable for music. Variable rate from 1/32 to 32.
Available in OS X v10.9 and later.
Default for Mac OS X.
AVFoundationMBS.AVAudioTimePitchAlgorithmTimeDomain as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Modest quality pitch algorithm that is less computationally intensive. Suitable for voice. Variable rate from 1/32 to 32.
Available in OS X v10.9 and later.
AVFoundationMBS.AVAudioTimePitchAlgorithmVarispeed as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
High quality, no pitch correction. Pitch varies with rate. Variable rate from 1/32 to 32.
Available in OS X v10.9 and later.
AVFoundationMBS.AVCaptureDeviceWasConnectedNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
AVFoundationMBS.AVCaptureDeviceWasDisconnectedNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
AVFoundationMBS.AVCaptureInputPortFormatDescriptionDidChangeNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVCaptureSessionDidStartRunningNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
AVFoundationMBS.AVCaptureSessionDidStopRunningNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
AVFoundationMBS.AVCaptureSessionErrorKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Key to retrieve the error object from the user info dictionary of an AVCaptureSessionRuntimeErrorNotification.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPreset1280x720 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for 720p quality (1280x720pixel) video output.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPreset320x240 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for 320x240 pixel video output.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPreset352x288 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for CIF quality (352x288 pixel) video output.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPreset640x480 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for VGA quality (640x480 pixel) video output.
Some examples using this method:
- /AVFoundation/AVVideoWall
- /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
AVFoundationMBS.AVCaptureSessionPreset960x540 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for quarter HD quality (960x540 pixel) video output.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPresetHigh as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for high quality video and audio output.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPresetiFrame1280x720 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings to achieve 1280x720 quality iFrame H.264 video at about 40 Mbits/sec with AAC audio.
QuickTime movies captured in iFrame format are optimal for editing applications.
Available in OS X v10.9 and later.
AVFoundationMBS.AVCaptureSessionPresetiFrame960x540 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings to achieve 960x540 quality iFrame H.264 video at about 30 Mbits/sec with AAC audio.
QuickTime movies captured in iFrame format are optimal for editing applications.
Available in OS X v10.9 and later.
AVFoundationMBS.AVCaptureSessionPresetLow as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for output video and audio bitrates suitable for sharing over 3G.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPresetMedium as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for output video and audio bitrates suitable for sharing over WiFi.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionPresetPhoto as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Specifies capture settings suitable for high resolution photo quality output.
Some examples using this method:
AVFoundationMBS.AVCaptureSessionRuntimeErrorNotification as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You retrieve the underlying error from the notification's user info dictionary using the key AVCaptureSessionErrorKey.
Some examples using this method:
AVFoundationMBS.AVChannelLayoutKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is an Memoryblock containing an AudioChannelLayout structure.
Some examples using this method:
AVFoundationMBS.AVCoreAnimationBeginTimeAtZero as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Use this constant to set the CoreAnimation's animation beginTime property to be time 0.
The constant is a small, non-zero, positive value which prevents CoreAnimation from replacing 0.0 with CACurrentMediaTime.
AVFoundationMBS.AVEncoderAudioQualityForVBRKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVEncoderAudioQualityKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Value is a AVAudioQuality* constant.
AVFoundationMBS.AVEncoderBitDepthHintKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An integer ranging from 8 through 32.
Some examples using this method:
AVFoundationMBS.AVEncoderBitRateKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An integer that identifies the audio bit rate.
Some examples using this method:
AVFoundationMBS.AVEncoderBitRatePerChannelKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An integer that identifies the audio bit rate per channel.
AVFoundationMBS.AVEncoderBitRateStrategyKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVErrorDeviceKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is a string with the name of the device.
AVFoundationMBS.AVErrorDiscontinuityFlagsKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
AVFoundationMBS.AVErrorFileSizeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is a number containing the size of the file in bytes.
AVFoundationMBS.AVErrorMediaSubTypeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is an array of integers that specify media subtypes.
The types are represented by four character codes (4ccs), as defined in CoreAudioTypes.h for audio media and in CMFormatDescription.h for video media.
AVFoundationMBS.AVErrorMediaTypeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is a string that specified a media format.
AVFoundationMBS.AVErrorPIDKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
nThe corresponding value is a number containing a process ID number.one
AVFoundationMBS.AVErrorRecordingSuccessfullyFinishedKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is a Boolean value indicating whether recording finished successfully.
Some examples using this method:
AVFoundationMBS.AVErrorTimeKey as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The corresponding value is an NSValue object containing a CMTime.
AVFoundationMBS.AVFileType3GPP as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 17.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this UTI is "public.3gpp".
Files are identified with the .3gp, .3gpp, and .sdv extensions.
Available in macOS 10.11 or newer.
AVFoundationMBS.AVFileType3GPP2 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 17.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The value of this UTI is "public.3gpp2".
Files are identified with the .3g2, .3gp2 extensions.
Available in macOS 10.11 or newer.
AVFoundationMBS.AVFileTypeAC3 as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
UTI for the AC-3 audio file format.
The value of this UTI is public.ac3-audio. Files are identified with the .ac3 extension.
Available in OS X v10.9 and later.
AVFoundationMBS.AVFileTypeAIFC as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
UTI for the AIFC audio file format.
The value of this UTI is public.aifc-audio. Files are identified with the .aifc and .cdda extensions.
AVFoundationMBS.AVFileTypeAIFF as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
UTI for the AIFF audio file format.
The value of this UTI is public.aiff-audio. Files are identified with the .aif and .aiff extensions.
AVFoundationMBS.AVFileTypeAMR as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
UTI for the adaptive multi-rate audio file format.
The value of this UTI is org.3gpp.adaptive-multi-rate-audio. Files are identified with the .amr extension.
The items on this page are in the following plugins: MBS AVFoundation Plugin.