Were trying to use the flowplayer but have hit a wall. Seems Internap CDN does things differently. Can anyone give an idea on how it implement these changes:
CDN Flash Live Player Modification Technote:
Internap Content Delivery Network (CDN) customers who are delivering live Flash streaming events may be required to modify their Flash player in order for their end-users to connect to the live stream. This applies to Flash players that are custom built or ?off-the-shelf? Flash players such as the JW Player. Player modification is not required for the Flash players provided through Internap MediaConsole, or Flash players that have been developed by Internap Professional Services.
Custom Flash Players Not Built with FLVPlayback Component
The following information pertains to customers with custom Flash players that are not built with the FLVPlayback component. Players with FLVPlayback do not provide access to the NetConnection object and cannot be modified.
The player modification requires access to the NetConnection object, which is used to create a connection between the Flash player and the Flash server. The stream name needs to be passed as a parameter in the NetConnection#connect call.
Normally, a player just passes the stream name in the NetStream#play call.
var nc = new NetConnection();
var aname = "rtmp://cust.internapcdn.net/cust_vitalstream_com/_definst_";
var sname = "live_asdf";
nc.connect(aname);
...
...
NetStream#play(sname);
However, the Internap CDN requires the following additional parameters in the NetConnection#connect call.
nc.connect(aname, false, sname);
If you are playing a live stream, pass in false and sname as the additional parameters.
The stream name will still need to be passed in the NetStream#play( ) call.
Customers Using JW Flash Player
Customers who are using the JW Flash Player will need to modify the player as described below.
One function in RTMPModel.as needs to be changed. Specifically, the bare call to:
connection.connect(model.config['streamer']);
needs to be replaced with the bolded content on the following page.
/** Load content. **/
public function load():void {
var results:Array = model.config['file'].match(/^([a-zA-Z0-9]+:)?(live_.*)/);
if(results && results[2]) {
connection.connect(model.config['streamer'], false, results[2]);
} else {
connection.connect(model.config['streamer']);
}
model.sendEvent(ModelEvent.STATE,{newstate:ModelStates.BUFFERING});
};
CDN Flash Live Player Modification Technote:
Internap Content Delivery Network (CDN) customers who are delivering live Flash streaming events may be required to modify their Flash player in order for their end-users to connect to the live stream. This applies to Flash players that are custom built or ?off-the-shelf? Flash players such as the JW Player. Player modification is not required for the Flash players provided through Internap MediaConsole, or Flash players that have been developed by Internap Professional Services.
Custom Flash Players Not Built with FLVPlayback Component
The following information pertains to customers with custom Flash players that are not built with the FLVPlayback component. Players with FLVPlayback do not provide access to the NetConnection object and cannot be modified.
The player modification requires access to the NetConnection object, which is used to create a connection between the Flash player and the Flash server. The stream name needs to be passed as a parameter in the NetConnection#connect call.
Normally, a player just passes the stream name in the NetStream#play call.
var nc = new NetConnection();
var aname = "rtmp://cust.internapcdn.net/cust_vitalstream_com/_definst_";
var sname = "live_asdf";
nc.connect(aname);
...
...
NetStream#play(sname);
However, the Internap CDN requires the following additional parameters in the NetConnection#connect call.
nc.connect(aname, false, sname);
If you are playing a live stream, pass in false and sname as the additional parameters.
The stream name will still need to be passed in the NetStream#play( ) call.
Customers Using JW Flash Player
Customers who are using the JW Flash Player will need to modify the player as described below.
One function in RTMPModel.as needs to be changed. Specifically, the bare call to:
connection.connect(model.config['streamer']);
needs to be replaced with the bolded content on the following page.
/** Load content. **/
public function load():void {
var results:Array = model.config['file'].match(/^([a-zA-Z0-9]+:)?(live_.*)/);
if(results && results[2]) {
connection.connect(model.config['streamer'], false, results[2]);
} else {
connection.connect(model.config['streamer']);
}
model.sendEvent(ModelEvent.STATE,{newstate:ModelStates.BUFFERING});
};