| Package | com.akamai.net.f4f.hds.events |
| Class | public class AkamaiHDSEvent |
| Inheritance | AkamaiHDSEvent org.openvideoplayer.events.OvpEvent |
| Method | Defined By | ||
|---|---|---|---|
AkamaiHDSEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)
Constructor. | AkamaiHDSEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| AMD_LONG_TOKEN_RESPONSE : String = amdLongToken [static]
Dispatched when the long token is retrieved from the manifest short token request. | AkamaiHDSEvent | ||
| COMPLETE : String = complete [static]
Dispatched when a stream has played to completion. | AkamaiHDSEvent | ||
| DATA_MESSAGE : String = datamessage [static]
This event type is typically used for notification of an in-stream
callback type of message, such as an ActionScript CuePoint. | AkamaiHDSEvent | ||
| DRM_AUTHENTICATING : String = drmAuthenticating [static]
Dispatched when the system is in the process of DRM authentication. | AkamaiHDSEvent | ||
| DRM_AUTHENTICATION_ERROR : String = drmAuthenticationError [static]
Dispatched when DRM authentication fails with a specific MediaError ID. | AkamaiHDSEvent | ||
| DRM_REQUIRES_USERNAME_PASSWORD : String = requiresUsernamePassword [static]
Dispatched when username/password authentication for DRM is required. | AkamaiHDSEvent | ||
| ERROR : String = error [static]
This event type is used to dispatch error messages. | AkamaiHDSEvent | ||
| FATAL_ERROR : String = FATAL_ERROR [static]
Fatal error that will halt streaming. | AkamaiHDSEvent | ||
| HAS_ALTERNATIVE_AUDIO_CHANGE : String = hasAlternativeAudioChange [static]
Dispatched by a class when alternative audio tracks have been detected. | AkamaiHDSEvent | ||
| IS_BUFFERING : String = isbuffering [static]
Dispatched when a stream is buffering. | AkamaiHDSEvent | ||
| IS_LIVE_STREAM : String = islivestream [static]
Dispatched when a live stream is detected. | AkamaiHDSEvent | ||
| IS_PLAYING_LIVE : String = isPlayingLive [static]
Dispatched when the isPlayingLive property changes state to false. | AkamaiHDSEvent | ||
| MEDIA_ENCRYPTED : String = encrypted [static]
Dispatched when playback of Akamai encrypted media is detected. | AkamaiHDSEvent | ||
| METADATA : String = metadata [static]
This event type is typically used for notification of the in-stream
onMetaData script tag. | AkamaiHDSEvent | ||
| NETSTREAM_READY : String = netStreamReady [static]
Dispatched by a class when it's netStream property
can safely be called. | AkamaiHDSEvent | ||
| PROGRESS : String = progress [static]
A progress update event, typically tied to a progress bar in
a player. | AkamaiHDSEvent | ||
| STREAM_LENGTH : String = streamlength [static]
Dispatched when stream duration has been determined. | AkamaiHDSEvent | ||
| SWITCH_COMPLETE : String = switchComplete [static]
For dynamic streaming, dispatched when a switch to a stream quality
is complete, meaning the switch is now visible to the user. | AkamaiHDSEvent | ||
| SWITCH_REQUESTED : String = switchRequested [static]
For dynamic streaming, dispatched when a request has been made to
switch to a different stream quality. | AkamaiHDSEvent | ||
| AkamaiHDSEvent | () | Constructor |
public function AkamaiHDSEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)Constructor.
Parameterstype:String — Event type.
| |
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
data:Object (default = null) — Some event types can contain a payload which will be contained within this object.
See the class dispatching this event for details.
|
| AMD_LONG_TOKEN_RESPONSE | Constant |
public static const AMD_LONG_TOKEN_RESPONSE:String = amdLongTokenDispatched when the long token is retrieved from the manifest short token request.
| COMPLETE | Constant |
public static const COMPLETE:String = completeDispatched when a stream has played to completion.
| DATA_MESSAGE | Constant |
public static const DATA_MESSAGE:String = datamessageThis event type is typically used for notification of an in-stream callback type of message, such as an ActionScript CuePoint. See the dispatching class for more details.
| DRM_AUTHENTICATING | Constant |
public static const DRM_AUTHENTICATING:String = drmAuthenticatingDispatched when the system is in the process of DRM authentication.
| DRM_AUTHENTICATION_ERROR | Constant |
public static const DRM_AUTHENTICATION_ERROR:String = drmAuthenticationErrorDispatched when DRM authentication fails with a specific MediaError ID.
| DRM_REQUIRES_USERNAME_PASSWORD | Constant |
public static const DRM_REQUIRES_USERNAME_PASSWORD:String = requiresUsernamePasswordDispatched when username/password authentication for DRM is required.
| ERROR | Constant |
public static const ERROR:String = errorThis event type is used to dispatch error messages. See the dispatching class for specifics.
| FATAL_ERROR | Constant |
public static const FATAL_ERROR:String = FATAL_ERRORFatal error that will halt streaming. You should listen to this error on the NetStream object. There will be an error message in the data object's errorMsg key.
| HAS_ALTERNATIVE_AUDIO_CHANGE | Constant |
public static const HAS_ALTERNATIVE_AUDIO_CHANGE:String = hasAlternativeAudioChangeDispatched by a class when alternative audio tracks have been detected.
| IS_BUFFERING | Constant |
public static const IS_BUFFERING:String = isbufferingDispatched when a stream is buffering.
| IS_LIVE_STREAM | Constant |
public static const IS_LIVE_STREAM:String = islivestreamDispatched when a live stream is detected.
| IS_PLAYING_LIVE | Constant |
public static const IS_PLAYING_LIVE:String = isPlayingLiveDispatched when the isPlayingLive property changes state to false.
| MEDIA_ENCRYPTED | Constant |
public static const MEDIA_ENCRYPTED:String = encryptedDispatched when playback of Akamai encrypted media is detected. This is separate from other DRM solutions such as Adobe Flash Access.
| METADATA | Constant |
public static const METADATA:String = metadataThis event type is typically used for notification of the in-stream onMetaData script tag. See the dispatching class for more details.
| NETSTREAM_READY | Constant |
public static const NETSTREAM_READY:String = netStreamReady
Dispatched by a class when it's netStream property
can safely be called.
| PROGRESS | Constant |
public static const PROGRESS:String = progressA progress update event, typically tied to a progress bar in a player.
| STREAM_LENGTH | Constant |
public static const STREAM_LENGTH:String = streamlength
Dispatched when stream duration has been determined. Typically
the data property will contain the stream length.
| SWITCH_COMPLETE | Constant |
public static const SWITCH_COMPLETE:String = switchCompleteFor dynamic streaming, dispatched when a switch to a stream quality is complete, meaning the switch is now visible to the user. See the dispatching class for more details.
| SWITCH_REQUESTED | Constant |
public static const SWITCH_REQUESTED:String = switchRequestedFor dynamic streaming, dispatched when a request has been made to switch to a different stream quality. See the dispatching class for more details.