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.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
| 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.