| Package | net.guttershark.util.akamai |
| Class | public final class AkamaiNCManager |
| Inheritance | AkamaiNCManager fl.video.NCManager |
| Implements | fl.video.INCManager |
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.
| Property | Defined 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 | ||
| AllowNCReuse | property |
public static var AllowNCReuse:Boolean = falseAllow 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_IP | property |
public static var FMS_IP:StringA 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.