Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVFoundationMBS class.

Next items

AVFoundationMBS.AssetLoadValuesAsynchronouslyForKeysFinished(MetadataItem as AVMetadataItemMBS, keys() as string, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by AVAssetMBS.loadValuesAsynchronouslyForKeys method on completion.

Tag is the value you passed when calling the original method.

Some examples using this event:

AVFoundationMBS.AssetTrackLoadValuesAsynchronouslyForKeysFinished(MetadataItem as AVMetadataItemMBS, keys() as string, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by AVAssetTrackMBS.loadValuesAsynchronouslyForKeys method on completion.

Tag is the value you passed when calling the original method.

AVFoundationMBS.audioPlayerDecodeErrorDidOccur(player as AVAudioPlayerMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when an audio player encounters a decoding error during playback.

player: The audio player that encountered the decoding error.
error: The decoding error.

AVFoundationMBS.audioPlayerDidFinishPlaying(player as AVAudioPlayerMBS, successful as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when a sound has finished playing.

player: The audio player that finished playing.
flag: True on successful completion of playback; false if playback stopped because the system could not decode the audio data.

This method is not called upon an audio interruption. Rather, an audio player is paused upon interruption—the sound has not finished playing.

Some examples using this event:

AVFoundationMBS.audioRecorderDidFinishRecording(recorder as AVAudioRecorderMBS, successful as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by the system when a recording is stopped or has finished due to reaching its time limit.

recorder: The audio recorder that has finished recording.
flag: True on successful completion of recording; False if recording stopped because of an audio encoding error.

This method is not called by the system if the audio recorder stopped due to an interruption.

Some examples using this event:

AVFoundationMBS.audioRecorderEncodeErrorDidOccur(recorder as AVAudioRecorderMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when an audio recorder encounters an encoding error during recording.

recorder: The audio recorder that encountered the encoding error.
error: The encoding error.

Some examples using this event:

AVFoundationMBS.BoundaryTimeObserver(Player as AVPlayerMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by addBoundaryTimeObserverForTimes.

Tag is the value you passed when calling the original method.

AVFoundationMBS.CaptureDeviceSubjectAreaDidChange(device as AVCaptureDeviceMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Notification that is posted when the instance of AVCaptureDevice has detected a substantial change to the video subject area.

notification is a NSNotificationMBS object.
This notification is only sent if you first set subjectAreaChangeMonitoringEnabled to True.

AVFoundationMBS.CaptureDeviceWasConnected(device as AVCaptureDeviceMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Notification that is posted when a new device becomes available.

notification is a NSNotificationMBS object.

AVFoundationMBS.CaptureDeviceWasDisconnected(device as AVCaptureDeviceMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Notification that is posted when an existing device becomes unavailable.

notification is a NSNotificationMBS object.

AVFoundationMBS.CaptureInputPortFormatDescriptionDidChange(InputPort as AVCaptureInputPortMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted if the formatDescription of the capture input port changes.

notification is a NSNotificationMBS object.

AVFoundationMBS.captureOutputDidDropSampleBuffer(captureOutput as AVCaptureOutputMBS, OutputSampleBuffer as CMSampleBufferMBS, connection as AVCaptureConnectionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Notifies the delegate that a video frame was discarded.

captureOutput: The capture output object.
sampleBuffer: A CMSampleBuffer object containing information about the dropped frame, such as its format and presentation time. This sample buffer contains none of the original video data.
connection: The connection from which the video was received.

Delegates receive this message whenever a late video frame is dropped. This method is called once for each dropped frame. It is called on the main thread, so please make your event code run very fast.

AVFoundationMBS.captureOutputDidFinishRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, outputFileURL as string, connections() as AVCaptureConnectionMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the delegate when all pending data has been written to an output file.

captureOutput: The capture file output that has finished writing the file.
outputFileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.
error: If the file was not written successfully, an error object that describes the problem; otherwise nil.

This method is called whenever a file is finished. If the file was forced to be finished due to an error, the error is described in the error parameter—otherwise, the error parameter is nil.

This method is called when the file output has finished writing all data to a file whose recording was stopped, either because startRecordingToOutputFileURL or stopRecording were called, or because an error (described by the error parameter), occurred (if no error occurred, the error parameter is nil).

This method is always called for each recording request, even if no data is successfully written to the file.

Some examples using this event:

AVFoundationMBS.captureOutputDidOutputMetadataObjects(captureOutput as AVCaptureOutputMBS, metadataObjects() as AVMetadataObjectMBS, connection as AVCaptureConnectionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ❌ No ❌ No ❌ No ✅ Yes
Called by AVCaptureMetadataOutputMBS class if new metadata is available.

Only for iOS!

captureOutput: The AVCaptureMetadataOutputMBS object that captured and emitted the metadata objects.
metadataObjects: An array of AVMetadataObjectMBS instances representing the newly emitted metadata. Because AVMetadataObject is an abstract class, the objects in this array are always instances of a concrete subclass.
connection: The capture connection through which the objects were emitted.

The AVCaptureMetadataOutputMBS object emits only metadata objects whose types are included in its metadataObjectTypes property. The delegate implements this method to perform additional processing on metadata objects as they become available. If you plan to use metadata objects outside the scope of this method, you must store strong references to them and remove those references when the objects are no longer required.

Some examples using this event:

AVFoundationMBS.captureOutputDidOutputSampleBuffer(captureOutput as AVCaptureOutputMBS, OutputSampleBuffer as CMSampleBufferMBS, connection as AVCaptureConnectionMBS, features as variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called for frames being outputted.

Called by AVCaptureFileOutputMBS, AVCaptureVideoDataOutputMBS and AVCaptureAudioDataOutputMBS.

features is an array of object, which contains detected CIFeatureMBS objects for AVCaptureVideoDataOutputMBS with CIDetector.

Some examples using this event:

AVFoundationMBS.captureOutputDidPauseRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called whenever the output is recording to a file and successfully pauses the recording at the request of a client.

captureOutput: The capture file output that has paused its file recording.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.

This method is called whenever a request to pause recording is actually respected.

It is safe for delegates to change what the file output is currently doing (starting a new file, for example) from within this method. If recording to a file is stopped, either manually or due to an error, this method is not guaranteed to be called, even if a previous call to pauseRecording was made.

Some examples using this event:

AVFoundationMBS.captureOutputDidResumeRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called whenever the output, at the request of the client, successfully resumes a file recording that was paused.

captureOutput: The capture file output that has resumed its paused file recording.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.

Delegates can use this method to be informed when a request to resume recording is actually respected.

It is safe for delegates to change what the file output is currently doing (starting a new file, for example) from within this method. If recording to a file is stopped, either manually or due to an error, this method is not guaranteed to be called, even if a previous call toresumeRecording was made.

Some examples using this event:

AVFoundationMBS.captureOutputDidStartRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the delegate when the output has started writing to a file.

captureOutput: The capture file output that started writing the file.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.

If an error condition prevents any data from being written, this method may not be called. captureOutputwillFinishRecordingToOutputFileAtURL and captureOutputdidFinishRecordingToOutputFileAtURL are always called, even if no data is written.

Some examples using this event:

AVFoundationMBS.captureOutputWillFinishRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS, error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Informs the delegate when the output will stop writing new samples to a file.

captureOutput: The capture file output that will finish writing the file.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.
error: An error describing what caused the file to stop recording, or nil if there was no error.

This method is called when the file output will stop recording new samples to the file at outputFileURL, either because startRecordingToOutputFileURL or stopRecording were called, or because an error (described by the error parameter), occurred (if no error occurred, the error parameter is nil).

This method is always called for each recording request, even if no data is successfully written to the file.

Some examples using this event:

AVFoundationMBS.CaptureSessionDidStartRunning(session as AVCaptureSessionMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted when a capture session starts.

notification is a NSNotificationMBS object.

AVFoundationMBS.CaptureSessionDidStopRunning(session as AVCaptureSessionMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted when a capture session stops.

notification is a NSNotificationMBS object.

AVFoundationMBS.CaptureSessionRuntimeError(session as AVCaptureSessionMBS, error as NSErrorMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted if an error occurred during a capture session.

notification is a NSNotificationMBS object.
You retrieve the underlying error from the notification's user info dictionary using the key AVCaptureSessionErrorKey.

AVFoundationMBS.captureStillImageAsynchronouslyCompleted(CaptureStillImageOutput as AVCaptureStillImageOutputMBS, prepareJpegStillImage as boolean, tag as Variant, error as NSErrorMBS, imageDataSampleBuffer as CMSampleBufferMBS, JpegStillImage as memoryblock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
The event called when still image was captured.

If prepareJpegStillImage is true, the plugin will prepare the jpeg data and pass it as JpegStillImage, so the preparation is done on the capture thread.
imageDataSampleBuffer: The data that was captured.

The buffer attachments may contain metadata appropriate to the image data format. For example, a buffer containing JPEG data may carry a kCGImagePropertyExifDictionary as an attachment. See ImageIO/CGImageProperties.h for a list of keys and value types.
error
If the request could not be completed, an NSError object that describes the problem; otherwise nil.

Tag is the value you passed when calling the original method.

Some examples using this event:

AVFoundationMBS.determineCompatibilityOfExportPresetCompleted(presetName as string, asset as AVAssetMBS, outputFileType as string, compatible as boolean, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
The event called by AVAssetExportSessionMBS.determineCompatibilityOfExportPreset.

The event to execute with the results of your call to determineCompatibilityOfExportPreset.
The compatible parameter contains the value true if the combination of options is compatible or false if they are not.

Tag is the value you passed when calling the original method.

AVFoundationMBS.determineCompatibleFileTypesCompleted(exportsession as AVAssetExportSessionMBS, compatibleFileTypes() as string, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
The event called when you call AVAssetExportSessionMBS.determineCompatibleFileTypes method.

The event to execute with the results.
You receive an array parameter and returns no result. The array contains zero or more strings with the UTIs of the compatible file types. The file types are in no particular order. For a list of constants specifying UTIs for standard file types, see AV Foundation Constants Reference.

Tag is the value you passed when calling the original method.

AVFoundationMBS.exportAsynchronouslyCompleted(ExportSession as AVAssetExportSessionMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Export finished.

Called by AVAssetExportSessionMBS.exportAsynchronously when the export is done or failed.

Tag is the value you passed when calling the original method.

AVFoundationMBS.finishWritingCompleted(writer as AVAssetWriterMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
Event called from AVAssetWriterMBS.finishWritingWithCompletionHandler.

The event is invoked once the writing of the output file is finished or if a failure or cancellation occurs in the meantime.

Tag is the value you passed when calling the original method.

AVFoundationMBS.generateCGImagesAsynchronouslyForTimesCompleted(generator as AVAssetImageGeneratorMBS, requestedTime as CMTimeMBS, image as Variant, actualTime as CMTimeMBS, result as Integer, error as NSErrorMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when image generation is completed or cancelled.

Image is a CGImageMBS object.
Called by AVAssetImageGeneratorMBS.generateCGImagesAsynchronouslyForTimes method.

Tag is the value you passed when calling the original method.

Some examples using this event:

AVFoundationMBS.legibleOutputDidOutputAttributedStrings(output as AVPlayerItemLegibleOutputMBS, strings() as Variant, nativeSamples() as CMSampleBufferMBS, itemTime as CMTimeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
The legible output did output an attributed string.

Strings array contains NSAttributedStringMBS objects.

AVFoundationMBS.MetadataItemLoadValuesAsynchronouslyForKeysFinished(MetadataItem as AVMetadataItemMBS, keys() as string, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by AVMetadataItemMBS.loadValuesAsynchronouslyForKeys method on completion.

Tag is the value you passed when calling the original method.

AVFoundationMBS.outputMediaDataWillChange(output as AVPlayerItemOutputMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Tells you that new samples are about to arrive.

You can use this method to prepare for any new sample data. This method is called at some point after a call to your video output object's requestNotificationOfMediaDataChangeWithAdvanceInterval method.

AVFoundationMBS.outputSequenceWasFlushed(output as AVPlayerItemOutputMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Tells the delegate that a new sample sequence is commencing.

output: The output object that sent the message.

This method is called after any attempt to seek or change the playback direction of the item's content. If you are maintaining any queued future samples, you can use your implementation of this method to discard those samples.

AVFoundationMBS.PeriodicTimeObserver(Player as AVPlayerMBS, time as CMTimeMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by addPeriodicTimeObserverForInterval.

time: The time at which the block is invoked.

Tag is the value you passed when calling the original method.

Some examples using this event:

AVFoundationMBS.PlayerItemDidPlayToEndTime(PlayerItem as AVPlayerItemMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted when the item has played to its end time.

notification is a NSNotificationMBS object.
The notification's object is the item that finished playing.

AVFoundationMBS.PlayerItemFailedToPlayToEndTime(PlayerItem as AVPlayerItemMBS, error as NSErrorMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted when the item failed to play to its end time.

notification is a NSNotificationMBS object.
The notification's object is the item that finished playing.
The user info dictionary contains an error object that describes the problem—seeAVPlayerItemFailedToPlayToEndTimeErrorKey.

AVFoundationMBS.PlayerItemNewAccessLogEntry(PlayerItem as AVPlayerItemMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
A new access log entry is available to a player item.

notification is a NSNotificationMBS object.
Posted when a new access log entry has been added.
The notification's object is the player item. The new log entry is accessible via accessLog.

AVFoundationMBS.PlayerItemNewErrorLogEntry(PlayerItem as AVPlayerItemMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
A new error log entry is available to a player item.

notification is a NSNotificationMBS object.
Posted when a new error log entry has been added.
The notification's object is the player item. The new log entry is accessible via errorLog, respectively.

AVFoundationMBS.PlayerItemPlaybackStalled(PlayerItem as AVPlayerItemMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
The player item playback is stalled.

notification is a NSNotificationMBS object.

Posted when some media did not arrive in time to continue playback.
The notification's object is the AVPlayerItem instance whose playback was unable to continue because the necessary media isn't available yet, usually because it didn't arrive in a timely fashion from its source over a network. Playback will continue once a sufficient amount of media has subsequently been delivered.

AVFoundationMBS.playerItemSeekToDateFinished(player as AVPlayerItemMBS, date as Variant, finished as boolean, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
The seek operation to date finished.

Tag is the value you passed when calling the original method.

AVFoundationMBS.playerItemSeekToTimeFinished(player as AVPlayerItemMBS, time as CMTimeMBS, toleranceBefore as CMTimeMBS, toleranceAfter as CMTimeMBS, finished as boolean, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
A seek operation has finished.

finished: Indicates whether the seek operation completed.

Tag is the value you passed when calling the original method.

AVFoundationMBS.PlayerItemTimeJumped(PlayerItem as AVPlayerItemMBS, notification as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Posted when the item's current time has changed discontinuously.

notification is a NSNotificationMBS object.
The notification's object is the item.

AVFoundationMBS.playerSeekToDateFinished(player as AVPlayerMBS, date as Variant, finished as boolean, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ❌ No
Event called by AVPlayerMBS.seekToDate method when seeking is done.

Tag is the value you passed when calling the original method.

AVFoundationMBS.playerSeekToTimeFinished(player as AVPlayerMBS, time as CMTimeMBS, toleranceBefore as CMTimeMBS, toleranceAfter as CMTimeMBS, finished as boolean, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called by AVPlayerMBS.seekToTime when seeking is done.

finished: Indicates whether the seek operation completed.

Tag is the value you passed when calling the original method.

AVFoundationMBS.prerollAtRateFinished(player as AVAudioPlayerMBS, rate as Double, finished as boolean, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
The event called when preroll is done.

Finished: True if the data was loaded or false if there was a problem.
The value might be false if the preroll was interrupted by a time change or incompatible rate change.

Tag is the value you passed when calling the original method.

AVFoundationMBS.requestAccessForMediaTypeCompleted(MediaType as String, granted as boolean, tag as variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 18.4 ✅ Yes ❌ No ❌ No ❌ No
The call to AVCaptureDeviceMBS.requestAccessForMediaType was decided.

Some examples using this event:

AVFoundationMBS.requestContentAuthorizationCompleted(PlayerItem as AVPlayerItemMBS, timeoutInterval as Double, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
The event called when a request started with AVPlayerItemMBS.requestContentAuthorizationAsynchronously completed.

Tag is the value you passed when calling the original method.

AVFoundationMBS.requestMediaDataWhenReadyOnQueueCompleted(assetWriterInput as AVAssetWriterInputMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when media is ready.

You called requestMediaDataWhenReadyOnQueue on an AVAssetWriterInputMBS before.

Tag is the value you passed when calling the original method.

AVFoundationMBS.requestMediaDataWhenReadyOnQueueFinished(assetWriterInput as AVAssetWriterInputMBS, assetReaderOutput as AVAssetReaderOutputMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when copying data from input to output by plugin is done.

Tag is the value you passed when calling the original method.

Some examples using this event:

AVFoundationMBS.requestMediaDataWhenReadyOnQueueProgress(assetWriterInput as AVAssetWriterInputMBS, assetReaderOutput as AVAssetReaderOutputMBS, convertedByteCount as Int64, LastBuffer as CMSampleBufferMBS, tag as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No
Called when media is processed from input to output from plugin.

LastBuffer: The last buffer processed.

Tag is the value you passed when calling the original method.

Some examples using this event:

Next items

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


The biggest plugin in space...