Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVPlayerItemMBS class.

AVPlayerItemMBS.asset as AVAssetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The underlying asset provided during initialization. (read-only)

(Read only property)

AVPlayerItemMBS.audioMix as AVAudioMixMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The audio mix parameters to be applied during playback.

(Read and Write property)

AVPlayerItemMBS.audioTimePitchAlgorithm as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The processing algorithm used to manage audio pitch for scaled audio edits.

The supported constants are defined in Time Pitch Algorithm Settings.
An NSInvalidArgumentException will be raised if this property is set to a value other than the defined constants.
Available in OS X v10.9 and later.
(Read and Write property)

AVPlayerItemMBS.canPlayFastForward as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item can be played at rates greater than 1.0. (read-only)

Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.canPlayFastReverse as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item can be played at rates less than –1.0. (read-only)

Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.canPlayReverse as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item can be played with a rate of -1.0. (read-only)

Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.canPlaySlowForward as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item can be played at a rate between 0.0 and 1.0. (read-only)

Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.canPlaySlowReverse as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item can be played at a rate between -1.0 and 0.0. (read-only)

Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.canStepBackward as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item supports stepping backward. (read-only)

Once the item becomes ready to play, the value of this property does not change. This behavior applies even when boundary conditions, such as when the item's current time is kCMTimeZero, have been reached.
Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.canStepForward as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item supports stepping forward. (read-only)

Once the item becomes ready to play, the value of this property does not change. This behavior applies even when boundary conditions, such as when the item's current time is equal to its end time, have been reached.
Available in OS X v10.8 and later.
(Read only property)

AVPlayerItemMBS.contentAuthorizationRequestStatus 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
Indicates the status of the most recent call to requestContentAuthorizationAsynchronouslyWithTimeoutInterval. (read-only)

This property reports the authorization status as determined by the most recent call to requestContentAuthorizationAsynchronouslyWithTimeoutInterval.

The value will be AVContentAuthorizationUnknown before the first call and between the time a request call is made and just prior to the completion handler being executed (thus it is safe to query this property from the event).

This value is not key-value observable.
(Read only property)

AVPlayerItemMBS.currentDate as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the current time of the item as a date object.

The current time of the item as a date object, or nil if playback is not mapped to any date.
(Read only property)

AVPlayerItemMBS.currentDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the current time of the item as a date object.

The current time of the item as a date object, or nil if playback is not mapped to any date.
(Read only property)

AVPlayerItemMBS.currentTime as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the current time of the item.

(Read only property)

AVPlayerItemMBS.customVideoCompositor as AVVideoCompositingMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The custom video compositor, if any. (read-only)

The custom video compositor instance that is used during image generation is accessible via this property after the value of AVPlayerItemStatusFailed is set to an AVVideoComposition instance that specifies a custom video compositor class. Any additional communication between the application and that instance of the custom video compositor, if any is required for configuration or other purposes, can only occur once that has happened.

If the value of AVPlayerItemStatusFailed is changed from an AVVideoComposition that specifies a custom video compositor class to another instance of AVVideoComposition that specifies the same custom video compositor class, the instance of the custom video compositor that was previously created will receive the renderContextChanged: message and remain in use for subsequent image generation.

This property is nil if there is no video compositor, or if the internal video compositor is in use.
Available in OS X v10.9 and later.
(Read only property)

AVPlayerItemMBS.duration as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates the duration of the item. (read-only)

Indicates the duration of the item, not considering either its forwardPlaybackEndTime or reversePlaybackEndTime.
(Read only property)

AVPlayerItemMBS.error as NSErrorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
If the receiver's status is AVPlayerItemStatusFailed, this describes the error that caused the failure. (read-only)

The value of this property is an error that describes what caused the receiver to no longer be able to be played.
If the receiver's status is not AVPlayerItemStatusFailed, the value of this property is nil.
(Read only property)

AVPlayerItemMBS.forwardPlaybackEndTime as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The time at which forward playback ends.

The value indicated the time at which playback should end when the playback rate is positive (see AVPlayer's rate property).

The default value is kCMTimeInvalid, which indicates that no end time for forward playback is specified. In this case, the effective end time for forward playback is the item's duration.

The value of this property has no effect on playback when the rate is negative.
(Read and Write property)

AVPlayerItemMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVPlayerItemMBS.isApplicationAuthorizedForPlayback 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
Indicates whether the application can be used to play the content. (read-only)

This property reports whether or not the calling application is authorized to play the content associated with the item.

Application authorization is independent of content authorization (see contentAuthorizedForPlayback) and that both must be granted in order for an application to be allowed to play protected content. Also, unlike content authorization, application authorization is not dependent on user credentials (that is, if applicationAuthorizedForPlayback is false, there are no means to obtain authorization).

This property is not key-value observable.
(Read only property)

AVPlayerItemMBS.isAuthorizationRequiredForPlayback 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
Indicates whether or not authorization is required to play the content. (read-only)

This property reports whether authorization is required for the item's content to be played. If it does not require authorization, then none of the other authorization-related methods or properties apply (though they will return sensible values where possible).

This property is not key-value observable.
(Read only property)

AVPlayerItemMBS.isContentAuthorizedForPlayback 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
Indicates whether the content has been authorized by the user (for example, by authorizing the content's associated account in iTunes). (read-only)

This property reports whether the user has provided the necessary credentials to the system in order for the content to be decrypted for playback.

Content authorization is independent of application authorization (see applicationAuthorizedForPlayback) and that both must be granted in order for an application to be allowed to play protected content.

This property is not key-value observable.
(Read only property)

AVPlayerItemMBS.isPlaybackBufferEmpty as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether playback has consumed all buffered media and that playback will stall or end. (read-only)

(Read only property)

AVPlayerItemMBS.isPlaybackBufferFull as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether the internal media buffer is full and that further I/O is suspended. (read-only)

Despite the playback buffer reaching capacity there might not exist sufficient statistical data to support a playbackLikelyToKeepUp prediction of true.
(Read only property)

AVPlayerItemMBS.isPlaybackLikelyToKeepUp as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Indicates whether the item will likely play through without stalling (read-only)

This property communicates a prediction of playability. Factors considered in this prediction include I/O throughput and media decode performance. It is possible for playbackLikelyToKeepUp to indicate false while the property playbackBufferFull indicates true. In this event the playback buffer has reached capacity but there isn't the statistical data to support a prediction that playback is likely to keep up in the future. It is up to you to decide whether to continue media playback.
(Read only property)

AVPlayerItemMBS.presentationSize as CGSizeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The size at which the visual portion of the item is presented by the player. (read-only)

You can scale the presentation size to fit within the bounds of a player layer using its videoGravity property. You can also scale the presentation size arbitrarily using the frame property of an AVPlayerLayer object.
(Read only property)

AVPlayerItemMBS.reversePlaybackEndTime as CMTimeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The time at which reverse playback ends.

The value indicated the time at which playback should end when the playback rate is negative (see AVPlayer's rate property).

The default value is kCMTimeInvalid, which indicates that no end time for reverse playback is specified. In this case, the effective end time for reverse playback is kCMTimeZero.

The value of this property has no effect on playback when the rate is positive.
(Read and Write property)

AVPlayerItemMBS.seekingWaitsForVideoCompositionRendering as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
A Boolean value indicating whether the item's timing follows the displayed video frame when seeking with a video composition.

By default, item timing is updated as quickly as possible during seeking. Specifically, the item does not wait for new frames to be rendered when seeking during normal playback. In most situations, the latency between the completion of a seek operation and the display of a video frame at the new time is negligible. However, when video compositions are in use, the processing of video may introduce noticeable latency. Setting the value of this property to true causes the item's timing to be updated only after the corresponding video frame has been displayed. For example, this allows an AVSynchronizedLayer object associated with the item to remain in sync with the displayed video.

This property has no effect on items whose videoComposition property is nil.
Available in OS X v10.9 and later.
(Read and Write property)

AVPlayerItemMBS.status as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The status of the player item. (read-only)

For example, whether the item is playable. For values: AVPlayerItemStatusUnknown, AVPlayerItemStatusReadyToPlay and AVPlayerItemStatusFailed.
(Read only property)

AVPlayerItemMBS.videoComposition as AVVideoCompositionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
The video composition settings to be applied during playback.

(Read and Write property)

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


The biggest plugin in space...