Packagenet.guttershark.util.akamai
Classpublic final class AkamaiNCManager
InheritanceAkamaiNCManager Inheritance fl.video.NCManager
Implementsfl.video.INCManager

The AkamaiNCManager class is a replacement for the default NCManager class from Adobe. This is used with an FLVPlayback component and manages NetConnections specifically to Akamai.

Here's how you set it up:

 
  import fl.video.VideoPlayer;
  import net.guttershark.akamai.AkamaiNCManager;
  VideoPlayer.iNCManagerClass = "net.guttershark.akamai.AkamaiNCManager";
  

The AkamaNCManager class is set on the VideoPlayer class, because the VideoPlayer class is used internally to the FLVPlayback Components.



Public Properties
 PropertyDefined by
  AllowNCReuse : Boolean = false
[static] Allow re-use of already connected net connections.
AkamaiNCManager
  FMS_IP : String
[static] A Flash Media Server IP address on the Akamai Network - set this for connections instead of a host name address.
AkamaiNCManager
Property detail
AllowNCReuseproperty
public static var AllowNCReuse:Boolean = false

Allow re-use of already connected net connections. It will only re-use when connected to the same domain and app name.

This is recommended you leave false, as even if you are connected with a connection, numerous drops occur and it's very spotty.

FMS_IPproperty 
public static var FMS_IP:String

A Flash Media Server IP address on the Akamai Network - set this for connections instead of a host name address.

The FMS_IP can be found from an Akamai Ident service. Which returns the best IP to use to connect to a Flash Media Server on Akamai's network based off of geographical information from the client request.

The FMS_IP is automatically sniffed after 1 attempt to connect to an Akamai host name. If the Ident service returns an IP, that IP is used for further connection attempts.

You can manually find the IP of the best Flash Media Server for the client before making any attempts to play streams, and set this property. That way no connections to an Akamai host name are attempted. But this is not required.