Packagecom.akamai.net.f4f.hds
Classpublic class AkamaiNetSessionType
InheritanceAkamaiNetSessionType Inheritance Object

Specifies the Akamai NetSession (HDClient) types available.



Public Constants
 ConstantDefined By
  NETSESSION_USAGE_NEVER : String = never
[static] Defines the netsession usage mode whereby the client will never use NetSession.
AkamaiNetSessionType
  NETSESSION_USAGE_OPPORTUNISTIC : String = opportunistic
[static] Defines the default NetSession (HDClient) usage mode whereby the client will try to use NetSession if it is available.
AkamaiNetSessionType
Constant Detail
NETSESSION_USAGE_NEVERConstant
public static const NETSESSION_USAGE_NEVER:String = never

Defines the netsession usage mode whereby the client will never use NetSession. Selecting this mode before playback starts will cause all requests to be directed directly to the edge server. Selecting this mode while playback is underway will cause the client to immediately stop using NetSession.

NETSESSION_USAGE_OPPORTUNISTICConstant 
public static const NETSESSION_USAGE_OPPORTUNISTIC:String = opportunistic

Defines the default NetSession (HDClient) usage mode whereby the client will try to use NetSession if it is available. This mode will start the stream playing without using NetSession. Once the first buffer.full event is reached, a discovery request will be made to see if NetSession is installed. If it is, then all subsequent requests will be made through NetSession. If it isn't, then normal playback will continue. Selecting this mode while playback is underway will cause the client to immediately test for NetSession. If NetSession is available, then it will start using it.