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 |
(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 |
(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 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
(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 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, 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 |
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 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 |
(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 |
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 |
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 |
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 |
(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 |
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 |
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.nowPlayingInfo as Dictionary New in 25.0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | AVFoundation | MBS AVFoundation Plugin | 25.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | iOS only |
See MPNowPlayingInfoCenterMBS class.
To clear the now playing info center dictionary, set it to nil.
(Read and Write 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 |
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 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 |
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 |
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 |
(Read and Write property)
The items on this page are in the following plugins: MBS AVFoundation Plugin.
