Getting Event Cue Points to work with Red5 0.8 and Red5 0.9.1

I’ve written a flash app (in AS3) that streams video to a red5 server (over RMTP of course) and embeds event cue points into the stream. The red5 server is using the OFLA demo that comes with red5, which converts the streams to FLV files. I then have another flash app that reads the FLV (over HTTP in this case not RTMP) and calls a function when an event cue point is reached while playing the FLV.
Now – the code you need to write to ensure that the cue points get properly written into the FLV depends on what RED5 version you are running. The code I’m talking about is the AS3 code in the app that streams the video. When you want to insert an event cuepoint you need to format the “send” function call with the following code (where ns is the netstream object):


For Red5 0.8

ns.send(“onCuePoint”, cueData);

For Red5 0.9.1

ns.send(“@setDataFrame”, ”onCuePoint”, cueData);

And thats pretty much it. And the other thing you need to ensure is that when you are setting up your netconnection, make sure you are using AMF0 encoding. I noticed this is needed for cue points to be added successfully in the right format.

nc.objectEncoding = flash.net.ObjectEncoding.AMF0

Jeremy is the webmaster of http://builderscrack.co.nz

Red5 Server upgraded all its servers to 1 GigE (1000Mbit) dedicated port

Yesterday Mr. Paul Santos CEO of Red5 Server a division of Hosting Marketers, Inc. announced at Piazza Hotel in New York the upgrade of all the managed servers, over 745 that Red5 Server manages on its datacenter in Chicago to a staggering 1 GigE (1000Mbit) dedicated port! The cost of this upgrade was $325.880 which Hosting Marketers, Inc. advanced 65% to be repaid in 2 years.

Mr. Paul Santos congratulated all the staff of Red5 Server for the good work during this last 12 months, which saw an increase of 350% in customers numbers, “We are now the premier Red5 Hosting and red5 servers suppliers in the all USA, we must keep the position, and increase it, next year we will start promoting our services to the Chinese market, and we hope that next year at this time we celebrate as we are celebrating today, thank you all, from the customer support team, and a work of special thanks to Chris our Customer support manager whose hard work as once more made all of us proud! Thank you, thank you all. ”

red5 server
red5 server

Red5 Server can be visited at http://www.red5-server.com/