Packagecom.akamai.net.f4f.hds
Classpublic class AkamaiHTTPNetStream
InheritanceAkamaiHTTPNetStream Inheritance org.osmf.net.httpstreaming.BaseHTTPNetStream

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10.1

The Akamai NetStream class for HDS (HTTP Dynamic Streaming) playback. This class provides events and information available to Akamai customers, the class cannot be used directly to playback HDS media. Either the AkamaiStreamController class must be used or an Akamai plugin for OSMF.

See also

AkamaiStreamController


Public Properties
 PropertyDefined By
  hdsProperties : IHDSProperties
[read-only] Returns an IHDSProperties object which can be used to read and write various HDS properties during playback.
AkamaiHTTPNetStream
  isAsleep : Boolean
[read-only] Returns whether the flash runtime is in sleep mode.
AkamaiHTTPNetStream
Public Methods
 MethodDefined By
  
pause():void
[override]
AkamaiHTTPNetStream
  
resume():void
[override]
AkamaiHTTPNetStream
Protected Methods
 MethodDefined By
  
onDRMError(event:DRMErrorEvent):void
[override]
AkamaiHTTPNetStream
  
onThrottle(event:ThrottleEvent):void
[override]
AkamaiHTTPNetStream
Events
 Event Summary Defined By
  Dispatched on a best effort download attempt after fragment retry attempts have elapsedAkamaiHTTPNetStream
  Dispatched when a script tag is detected.AkamaiHTTPNetStream
  Dispatched when Akamai encrypted media is encountered.AkamaiHTTPNetStream
  Dispatched when a fragment request is retried.AkamaiHTTPNetStream
  Dispatched with the HTTP_STATUS of each fragment before a complete/error.AkamaiHTTPNetStream
  Dispatched when the isPlayingLive property changes state.AkamaiHTTPNetStream
  Dispatched when an error occurs processing the media.AkamaiHTTPNetStream
  Dispatched when the onMetaData script tag is detected.AkamaiHTTPNetStream
  Dispatched during the life of the stream with an interval of 100ms.AkamaiHTTPNetStream
Property Detail
hdsPropertiesproperty
hdsProperties:IHDSProperties  [read-only]

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10.1

Returns an IHDSProperties object which can be used to read and write various HDS properties during playback.


Implementation
    public function get hdsProperties():IHDSProperties
isAsleepproperty 
isAsleep:Boolean  [read-only]

Returns whether the flash runtime is in sleep mode.


Implementation
    public function get isAsleep():Boolean
Method Detail
onDRMError()method
override protected function onDRMError(event:DRMErrorEvent):void

Parameters

event:DRMErrorEvent

onThrottle()method 
override protected function onThrottle(event:ThrottleEvent):void

Parameters

event:ThrottleEvent

pause()method 
override public function pause():void

resume()method 
override public function resume():void

Event Detail
bestEffortDownload Event
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiBestEffortDownloadOnFragmentErrorEvent

Dispatched on a best effort download attempt after fragment retry attempts have elapsed

See also

datamessage Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiHDSEvent

Dispatched when a script tag is detected. The data property of the event will contain the following properties:

See also

encrypted Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiHDSEvent

Dispatched when Akamai encrypted media is encountered.

See also

fragmentLoadRetry Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiFragmentLoadRetryEvent

Dispatched when a fragment request is retried.

See also

httpStatus Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiHTTPStatusEvent

Dispatched with the HTTP_STATUS of each fragment before a complete/error.

isPlayingLive Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiHDSEvent

Dispatched when the isPlayingLive property changes state.

mediaError Event  
Event Object Type: org.osmf.org.osmf.events.MediaErrorEvent

Dispatched when an error occurs processing the media. This event will be dispatched if a problem is encountered decrypting Secure Media or in enabling player verification.

metadata Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiHDSEvent

Dispatched when the onMetaData script tag is detected.

See also

progress Event  
Event Object Type: com.akamai.net.f4f.hds.events.AkamaiHDSEvent

Dispatched during the life of the stream with an interval of 100ms. Like a heart-beat indicating the stream is active.