Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVFoundationMBS class.

Next items

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
Whether AVFoundation is available.

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
One of the values for the AVEncoderBitRateStrategyKey encoder setting.

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
One of the values for the AVEncoderBitRateStrategyKey encoder setting.

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
One of the values for the AVEncoderBitRateStrategyKey encoder setting.

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
One of the values for the AVEncoderBitRateStrategyKey encoder setting.

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
The audio file type key.

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
One of the values for the time pitch algorithms.

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
One of the values for the time pitch algorithms.

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
One of the values for the time pitch algorithms.

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
Notification that is posted when a new device becomes available.

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
Notification that is posted when an existing device becomes unavailable.

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
Posted if the formatDescription of the capture input port changes.

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
Posted when a capture session starts.

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
Posted when a capture session stops.

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 information from a notification from a capture session.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

Specifies capture settings suitable for VGA quality (640x480 pixel) video output.

Some examples using this method:

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
One of the constants to define capture setting presets using the sessionPreset property.

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
Posted if an error occurred during a capture session.

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
Key to retrieve channel layout information for playback.
Example
const channels = 2
dim channelLayout as new QTAudioChannelLayoutMBS
channelLayout.ChannelLayoutTag = QTAudioChannelLayoutMBS.kAudioChannelLayoutTag_Stereo

dim outputSettings as new Dictionary

outputSettings.Value(AVFoundationMBS.AVSampleRateKey) = 44100.0
outputSettings.Value(AVFoundationMBS.AVNumberOfChannelsKey) = channels
outputSettings.Value(AVFoundationMBS.AVChannelLayoutKey) = channelLayout.Memory

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
Support for integration with Core Animation.

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
One of the Sample rate converter audio quality settings.

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
One of the audio encoder setting keys for the AVAudioRecorder class.

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
One of the audio encoder setting keys for the AVAudioRecorder class.

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
One of the audio encoder setting keys for the AVAudioRecorder class.

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
One of the audio encoder setting keys for the AVAudioRecorder class.

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
One of the Sample rate converter audio quality settings.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the keys in the user info dictionary in errors AVFoundation creates.

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
One of the file format uniform type identifiers (UTIs).

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
One of the file format uniform type identifiers (UTIs).

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
One of the file format uniform type identifiers (UTIs).

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
One of the file format uniform type identifiers (UTIs).

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
One of the file format uniform type identifiers (UTIs).

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
One of the file format uniform type identifiers (UTIs).

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.

Next items

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


The biggest plugin in space...