| Package | com.adobe.mediacore |
| Class | public class MediaPlayerItem |
| Inheritance | MediaPlayerItem flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| activeCCServices : Vector.<String> [read-only]
Returns the active CC services. | MediaPlayerItem | ||
| adSignalingMode : String [read-only]
Returns the ad signaling mode to be used for this item
| MediaPlayerItem | ||
| audioTracks : TrackCollection [read-only]
The available audio tracks from the stream. | MediaPlayerItem | ||
| bitrateRange : Range
The bitrate interval allowed for playback
(expressed in bits per second).
This range enforcement does not apply to the first downloaded
fragment. | MediaPlayerItem | ||
| currentAudioTrack : Track [read-only]
Retrieve the current audio track, that will be played during
playback.
This is not necessarily the track currently being played by the
media player. | MediaPlayerItem | ||
| currentVideoRendition : Rendition [read-only]
Retrieve the current video rendition, that is currently in
playback by the media player. | MediaPlayerItem | ||
| desiredInitialBitrate : Number
The desired bitrate (in bits per second) at which
playback should start. | MediaPlayerItem | ||
| drmMetadataInfos : Vector.<DRMMetadataInfo> [read-only]
DRM metadata for all licenses associated to this item
| MediaPlayerItem | ||
| duration : Number [read-only]
Duration of the media item calculated based only on the
main resource information (ads not included). | MediaPlayerItem | ||
| dvrInfo : DVRInfo [read-only]
DVR information, if the stream is DVR-enabled
| MediaPlayerItem | ||
| isProtected : Boolean [read-only]
Indicates that the stream is protected using FAXS library. | MediaPlayerItem | ||
| mediaId : String [read-only]
Media identifier. | MediaPlayerItem | ||
| metadata : Metadata [read-only]
Returns the configuration associated with this item. | MediaPlayerItem | ||
| notificationHistory : NotificationHistory [read-only] | MediaPlayerItem | ||
| resource : MediaResource [read-only]
Returns the resource associated with this item. | MediaPlayerItem | ||
| type : String [read-only]
Returns the MediaPlayerItemType
| MediaPlayerItem | ||
| videoRenditions : Vector.<Rendition> [read-only]
The available video renditions from the stream representing all
the qualities available for playback.
| MediaPlayerItem | ||
| videoSize : Size [read-only]
Size of the video. | MediaPlayerItem | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor. | MediaPlayerItem | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when a new audio track has started playback | MediaPlayerItem | |||
| Dispatched when an audio track has been selected | MediaPlayerItem | |||
| Dispatched to notify that the duration of the asset has changed | MediaPlayerItem | |||
| Dispatched to notify that the isProtected property has changed | MediaPlayerItem | |||
| Dispatched to notify that the tracks are available | MediaPlayerItem | |||
| Dispatched to notify that different video renditions are available for this item | MediaPlayerItem | |||
| Dispatched to notify that the size the video has changed | MediaPlayerItem | |||
| Constant | Defined By | ||
|---|---|---|---|
| DEFAULT_NOTIFICATION_HISTORY_CAPACITY : uint = 1000 | MediaPlayerItem | ||
| activeCCServices | property |
activeCCServices:Vector.<String> [read-only] Returns the active CC services.
public function get activeCCServices():Vector.<String>| adSignalingMode | property |
adSignalingMode:String [read-only] Returns the ad signaling mode to be used for this item
public function get adSignalingMode():String| audioTracks | property |
audioTracks:TrackCollection [read-only] The available audio tracks from the stream.
public function get audioTracks():TrackCollection| bitrateRange | property |
bitrateRange:Range
The bitrate interval allowed for playback (expressed in bits per second).
This range enforcement does not apply to the first downloaded fragment. The desired initial bitrate will be honoured even if it is outside the range specified here. public function get bitrateRange():Range public function set bitrateRange(value:Range):voidSee also
| currentAudioTrack | property |
currentAudioTrack:Track [read-only]
Retrieve the current audio track, that will be played during playback.
This is not necessarily the track currently being played by the media player. public function get currentAudioTrack():Track| currentVideoRendition | property |
currentVideoRendition:Rendition [read-only]
Retrieve the current video rendition, that is currently in playback by the media player.
public function get currentVideoRendition():Rendition| desiredInitialBitrate | property |
desiredInitialBitrate:Number
The desired bitrate (in bits per second) at which playback should start. A best-match will be performed in order to pick one of the available quality levels of the content.
You should set this value prior to assigning the item to a MediaPlayer to ensure that it is considered.
This setting only applies to the first fragment downloaded. After that the quality may be changed due to the adaptive streaming algorithm or due to the bitrateRange setting. public function get desiredInitialBitrate():Number public function set desiredInitialBitrate(value:Number):voidSee also
| drmMetadataInfos | property |
drmMetadataInfos:Vector.<DRMMetadataInfo> [read-only] DRM metadata for all licenses associated to this item
public function get drmMetadataInfos():Vector.<DRMMetadataInfo>| duration | property |
duration:Number [read-only] Duration of the media item calculated based only on the main resource information (ads not included).
public function get duration():Number| dvrInfo | property |
dvrInfo:DVRInfo [read-only] DVR information, if the stream is DVR-enabled
public function get dvrInfo():DVRInfo| isProtected | property |
isProtected:Boolean [read-only] Indicates that the stream is protected using FAXS library.
public function get isProtected():Boolean| mediaId | property |
mediaId:String [read-only] Media identifier. External services (ad resolving, ad and content tracking, custom CMS) might use this identifier to retrieve and store information related to this media.
public function get mediaId():String| metadata | property |
metadata:Metadata [read-only] Returns the configuration associated with this item.
public function get metadata():Metadata| notificationHistory | property |
notificationHistory:NotificationHistory [read-only] public function get notificationHistory():NotificationHistory| resource | property |
resource:MediaResource [read-only] Returns the resource associated with this item.
public function get resource():MediaResource| type | property |
type:String [read-only] Returns the MediaPlayerItemType
public function get type():String| videoRenditions | property |
videoRenditions:Vector.<Rendition> [read-only]
The available video renditions from the stream representing all the qualities available for playback.
public function get videoRenditions():Vector.<Rendition>| videoSize | property |
videoSize:Size [read-only] Size of the video. Once the playback starts, the actual size of the media will be retrieved. The client can use this property to detect when the video must be scale down or up to match the desired presentation size.
public function get videoSize():Size| MediaPlayerItem | () | Constructor |
public function MediaPlayerItem(resource:MediaResource, mediaId:String, metadata:Metadata)Constructor.
Parametersresource:MediaResource | |
mediaId:String | |
metadata:Metadata |
| audioTrackPlaying | Event |
com.adobe.mediacore.events.AudioTrackEventDispatched when a new audio track has started playback
| audioTrackSelect | Event |
com.adobe.mediacore.events.AudioTrackEventDispatched when an audio track has been selected
| itemDurationChange | Event |
com.adobe.mediacore.events.MediaPlayerItemEventDispatched to notify that the duration of the asset has changed
| itemIsProtectedChange | Event |
com.adobe.mediacore.events.MediaPlayerItemEventDispatched to notify that the isProtected property has changed
| itemTracksAvailable | Event |
com.adobe.mediacore.events.MediaPlayerItemEventDispatched to notify that the tracks are available
| itemVideoRenditionsAvailable | Event |
com.adobe.mediacore.events.MediaPlayerItemEventDispatched to notify that different video renditions are available for this item
| itemVideoSizeChange | Event |
com.adobe.mediacore.events.MediaPlayerItemEventDispatched to notify that the size the video has changed
| DEFAULT_NOTIFICATION_HISTORY_CAPACITY | Constant |
public const DEFAULT_NOTIFICATION_HISTORY_CAPACITY:uint = 1000