Category Archives: red5 server

testing a red5 live streaming rtmp, plus creating a player for the rtmp

We created an app for live streaming here.

Now we going to test it and create a player code so we can start streaming to our site.

Do you have fmle installed on your computer? You need to download it from adobe.

Lets test it first, go to

http://209.95.39.220/test/

enter the rtmp of your app. the rtmp is

rtmp://server IP/app

so:

rtmp://RED5_SERVER_IP/live221

Enter this URL on the long string and click connect, now click “Publish” your camera will start,  and now click “Play” if the 2 players show the same thing you are on. Everything is good.

OK, now we have to work on “stream name”. We talked about rtmp, and we tested it, the testing site if you go back to it

http://209.95.39.220/test/

it has a stream name, “testing” this must be on both the publishing and on the player.

so it must be on the FMLE and on the player code.

fmle

(click on the image to have a better view)

the FMLE on the left you have your settings, frame per second, bitrate, your camera, format.

on the red5 server your bitrate should be about 320kbps higher then that you need a lot of RAM and server resources.

lets configure the fmle as the image shows.

on the right on the FMS URL enter the rtmp and on the stream enter your chosen stream name, in this case I entered “live” see image.

click connect, and then below click “Start”

you now streaming to your server.

 

Now creating a player for this stream. Go to

http://www.hosting-marketers.com/generator/

at the bottom on the “Streamer” enter the rtmp:

rtmp://RED5_SERVER_IP/live221

and on “Stream / File Name” enter the stream name, which we used on the FMLE, “live”

Click  “Generate Code!”

Take the “Preview & Embed” code, paste on your site and that’s it.

You can also use an image on the player, it will show before the user click to play,  enter the image URL on “Overlay Poster”

creating a new app on Red5 for live streaming

We will call this app live221.

first of all download the folder live from red5, the path is /usr/local/red5/webapps

if you ftp to the server you will see these apps.

then rename the folder live to live221

open the folder and go inside \WEB-INF folder, there are 3 files there, you need to change 2.

1- file: red5-web.properties
2 – file: web.xml

open on a text editor red5-web.properties , you will see the 2 lines below:
webapp.contextPath=/live
webapp.virtualHosts=*

change it to:

webapp.contextPath=/live221
webapp.virtualHosts=*

now open the second file web.xml the code on top:

red5 live app

upload the new folder, restart the Red5

go to the Red5 admin area and you will see the new app.

Red5 ist ein Medienserver | Red5 Hosting

Red5 ist ein Medienserver ähnlich wie der Flash Media Server von Adobe oder Wowza’s Media Server. Medienserver werden für Live-Übertragungen, Videochats, Live-Konferenzen und Videostreaming benutzt. Letzteres wird auch als On-Demand-Streaming bezeichnet.

Dies sind die Hauptvorteile eines Stream-Medienservers:

Vorteile für den Endkunden (Client):

Der Server findet automatisch die Verbindungsgeschwindigkeit des Client heraus und bietet auf dieser Grundlage den besten Videostream.
Die Wiedergabe startet schneller und der Benutzer kann zu jedem Punkt des Videos springen ohne darauf warten zu müssen, dass es komplett heruntergeladen wurde.

Vorteile für den Anbieter (Webmaster):

Die Möglichkeit zur Übertragung von Live-Streams von Veranstaltungen.
Die Möglichkeit erweiterte, interaktive Inhalte wie Livechats, Videokonferenzen, etc. anbieten zu können.
Die Video-Wiedergabe ist effizienter, benötigt weniger Serverressourcen und Datenvolumen.
Videodateien werden nicht auf dem Computer des Kunden gespeichert, daher ist die Wahrscheinlichkeit für Diebstahl von Inhalten geringer.
Detaillierte Statistiken, Diagnostiken, etc.

Hosting Marketers bietet seit 2008 Red5 und Wowza Hosting an. Wir haben langjährige Erfahrung und unser Kundensupport-Team ist bereit, Ihnen beim Einrichten Ihres Videochats oder einer Live-Übertragung einer Veranstaltung zu helfen.

Wenn Sie weitere Informationen benötigen, kontaktieren Sie uns bitte unter
https://hosting-marketers.com/customers/submitticket.php?step=2&deptid=2

oder direkt auf

http://hosting-marketers.com/

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/