Package | com.adobe.mediacore |
Interface | public interface MediaPlayerItem |
Property | Defined By | ||
---|---|---|---|
audioTracks : Vector.<AudioTrack> [read-only]
Provides the list of currently available audio tracks. | MediaPlayerItem | ||
availablePlaybackRates : Vector.<Number> [read-only]
Provides the list of available playback rates in the context of the "trick-play" feature. | MediaPlayerItem | ||
closedCaptionsTracks : Vector.<ClosedCaptionsTrack> [read-only]
Provides the list of currently available closed captions tracks. | MediaPlayerItem | ||
config : MediaPlayerItemConfig
Media player item configuration. | MediaPlayerItem | ||
drmMetadataInfos : Vector.<DRMMetadataInfo> [read-only]
Provides the list of currently drm metadata information associated with the current item. | MediaPlayerItem | ||
hasAlternateAudio : Boolean [read-only]
Flag indicating that the media has alternate audio tracks. | MediaPlayerItem | ||
hasClosedCaptions : Boolean [read-only]
Flag indicating that the media has alternate audio tracks. | MediaPlayerItem | ||
hasTimedMetadata : Boolean [read-only]
Flag indicating that the media has timed metadata. | MediaPlayerItem | ||
isDynamic : Boolean [read-only]
Flag indicating that the media has multiple bit-rate profiles. | MediaPlayerItem | ||
isLive : Boolean [read-only]
Flag indicating if the stream is live or not. | MediaPlayerItem | ||
isProtected : Boolean [read-only]
Flag indicating that the media is protected through the DRM module. | MediaPlayerItem | ||
isTrickPlaySupported : Boolean [read-only]
Flag indicating that whether the "trick-play" feature is supported. | MediaPlayerItem | ||
player : MediaPlayer [read-only]
Provides the media player currently associated with this player. | MediaPlayerItem | ||
profiles : Vector.<Profile> [read-only]
Provides the list of currently available bit-rates profiles for the current playback window. | MediaPlayerItem | ||
resource : MediaResource [read-only]
Returns the media resource associated with this item. | MediaPlayerItem | ||
resourceId : int [read-only]
Returns the media identifier associated with this item. | MediaPlayerItem | ||
selectedAudioTrack : AudioTrack [read-only]
Returns the currently selected alternate audio track. | MediaPlayerItem | ||
selectedClosedCaptionsTrack : ClosedCaptionsTrack [read-only]
Returns the currently selected closed caption track. | MediaPlayerItem | ||
timedMetadata : Vector.<TimedMetadata> [read-only]
Provides the list of currently available timed metadata for the current playback window. | MediaPlayerItem |
Method | Defined By | ||
---|---|---|---|
selectAudioTrack(audioTrack:AudioTrack):Boolean
Selects an alternate audio track to play. | MediaPlayerItem | ||
selectClosedCaptionsTrack(closedCaptionsTrack:ClosedCaptionsTrack):Boolean
Selects a close captions track to display. | MediaPlayerItem |
audioTracks | property |
audioTracks:Vector.<AudioTrack>
[read-only] Provides the list of currently available audio tracks.
public function get audioTracks():Vector.<AudioTrack>
availablePlaybackRates | property |
availablePlaybackRates:Vector.<Number>
[read-only] Provides the list of available playback rates in the context of the "trick-play" feature.
public function get availablePlaybackRates():Vector.<Number>
closedCaptionsTracks | property |
closedCaptionsTracks:Vector.<ClosedCaptionsTrack>
[read-only] Provides the list of currently available closed captions tracks.
public function get closedCaptionsTracks():Vector.<ClosedCaptionsTrack>
config | property |
config:MediaPlayerItemConfig
Media player item configuration. Allows for configuration and customization of various PSDK components like content resolving or analytics service.
public function get config():MediaPlayerItemConfig
public function set config(value:MediaPlayerItemConfig):void
drmMetadataInfos | property |
drmMetadataInfos:Vector.<DRMMetadataInfo>
[read-only] Provides the list of currently drm metadata information associated with the current item.
public function get drmMetadataInfos():Vector.<DRMMetadataInfo>
hasAlternateAudio | property |
hasAlternateAudio:Boolean
[read-only] Flag indicating that the media has alternate audio tracks.
public function get hasAlternateAudio():Boolean
hasClosedCaptions | property |
hasClosedCaptions:Boolean
[read-only] Flag indicating that the media has alternate audio tracks.
public function get hasClosedCaptions():Boolean
hasTimedMetadata | property |
hasTimedMetadata:Boolean
[read-only] Flag indicating that the media has timed metadata.
public function get hasTimedMetadata():Boolean
isDynamic | property |
isDynamic:Boolean
[read-only] Flag indicating that the media has multiple bit-rate profiles.
public function get isDynamic():Boolean
isLive | property |
isLive:Boolean
[read-only] Flag indicating if the stream is live or not.
public function get isLive():Boolean
isProtected | property |
isProtected:Boolean
[read-only] Flag indicating that the media is protected through the DRM module.
public function get isProtected():Boolean
isTrickPlaySupported | property |
isTrickPlaySupported:Boolean
[read-only] Flag indicating that whether the "trick-play" feature is supported.
public function get isTrickPlaySupported():Boolean
player | property |
player:MediaPlayer
[read-only] Provides the media player currently associated with this player.
public function get player():MediaPlayer
profiles | property |
profiles:Vector.<Profile>
[read-only] Provides the list of currently available bit-rates profiles for the current playback window.
public function get profiles():Vector.<Profile>
resource | property |
resource:MediaResource
[read-only] Returns the media resource associated with this item.
public function get resource():MediaResource
resourceId | property |
resourceId:int
[read-only] Returns the media identifier associated with this item.
public function get resourceId():int
selectedAudioTrack | property |
selectedAudioTrack:AudioTrack
[read-only] Returns the currently selected alternate audio track.
public function get selectedAudioTrack():AudioTrack
selectedClosedCaptionsTrack | property |
selectedClosedCaptionsTrack:ClosedCaptionsTrack
[read-only] Returns the currently selected closed caption track.
public function get selectedClosedCaptionsTrack():ClosedCaptionsTrack
timedMetadata | property |
timedMetadata:Vector.<TimedMetadata>
[read-only] Provides the list of currently available timed metadata for the current playback window.
public function get timedMetadata():Vector.<TimedMetadata>
selectAudioTrack | () | method |
public function selectAudioTrack(audioTrack:AudioTrack):Boolean
Selects an alternate audio track to play.
Parameters
audioTrack:AudioTrack — the audio track to be selected
|
Boolean — whether the operation was successful or not
|
selectClosedCaptionsTrack | () | method |
public function selectClosedCaptionsTrack(closedCaptionsTrack:ClosedCaptionsTrack):Boolean
Selects a close captions track to display.
Parameters
closedCaptionsTrack:ClosedCaptionsTrack — the audio track to be selected
|
Boolean — whether the operation was successful or not
|