Dashboard > Documentation and Tutorials > ... > Getting Started > Chapter 3. Frequently Asked Questions
Chapter 3. Frequently Asked Questions
Added by Dan Rossi, last edited by Dan Rossi on Oct 14, 2008  (view change)
Labels: 
(None)


Frequency Asked Questions 

The best way you can help make this FAQ more useful is by asking questions: either in any of the places above, or by leaving your questions in the comments below.

  • Bugs and requests for new features can be submitted to JIRA.
  • Ideas for new features can be talked about in the discussion space

GENERAL

DOCUMENTATION

CONFIGURATION

STREAMING

CODECS

DATABASE 

SCRIPTING

SHARED OBJECTS

LEGAL STUFF

Red5 WAR version

MISC

TROUBLESHOOTING

Answers


GENERAL

WHAT IS RED5?

Red5 is an open source Flash RTMP server written in Java that supports:

  • Streaming Audio/Video (FLV and MP3)
  • Recording Client Streams (FLV only)
  • Shared Objects
  • Live Stream Publishing
  • Remoting

What does Red5 stand for?
Originally referenced to Star Wars.  Red5 was the "one who did the impossible". 


Is there a migration guide from FMS to Red5?
Yes: http://red5.googlecode.com/svn/doc/trunk/MigrationGuide.txt


How do I create new applications?
http://red5.googlecode.com/svn/doc/trunk/HOWTO-NewApplications.txt


What are configuration files?
see: http://red5.googlecode.com/svn/doc/trunk/ConfigurationFilesOverview.txt


Is there a mailing list?


What Ports does Red5 use?
http.port=5080 // tomcat or jetty servlet container
rtmp.port=1935 // traditional rtmp
rtmpt.port=8088 // rtmp tunneled over http
rtmps.port=8443 // rtmp tunneled over https (secure)
mrtmp.port=9035 // used with an edge/origin setup
proxy.source_port=1936 // used to debug

These default ports can be changed in "[RED5_HOME]\conf\red5.properties"

Additionally, most users only forward port 1935 and 5080


I'm interested in helping the project. How can I help?
You can create a new JIRA ticket for any contributions you want to make, attach the files there or link it. make sure you signup on the mailinglist as well..


Who is on the Red5 Team?
The Red5 Project (red5 AT osflash.org)

- Project Managers -
Chris Allen (mrchrisallen AT gmail.com)
John Grden (johng AT acmewebworks.com)

- Active Members -
Dominick Accattato (daccattato AT gmail.com)
Steven Gong (steven.gong AT gmail.com)
Paul Gregoire (mondain AT gmail.com)
Thijs Triemstra (info AT collab.nl)
Dan Rossi (electroteque AT gmail.com)
Anton Lebedevich (mabrek AT gmail.com)

- Inactive Members -
Luke Hubbard (luke AT codegent.com)
Joachim Bauch (jojo AT struktur.de)
Mick Herres (mickherres AT hotmail.com)
Grant Davies (grant AT bluetube.com)
Steven Elliott (steven.s.elliott AT gmail.com)
Jokul Tian (tianxuefeng AT gmail.com)
Michael Klishin (michael.s.klishin AT gmail.com)
Martijn van Beek (martijn.vanbeek AT gmail.com)


DOCUMENTATION

Where is the official documentation?
http://red5.electroteque.org/dev/doc/html/


Can I get the documentation in PDF format?
TODO


Where can I find the latest javadocs?
http://red5.newviewnetworks.com/hudson/docs/
http://api.red5.nl
API Search http://www.google.com/coop/cse?cx=011206679171198660486:j6hkdxs2a_k


CONFIGURATION

How to disable Socket policy checking for 443 (rtmps and https)?
You can change the port to something over 1024 like 8443 or comment out the RTMPS section.


How to change the way Red5/java listens on interfaces (change ipv6 to ipv4) ?

If you want Red5 to listen only using ipv4 instead of ipv6 then add this option in your startup-scripts:

 -Djava.net.preferIPv4Stack=true

e.g.

[Red5.sh]

 JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Dred5.root=$RED5_HOME -Djava.security.manager -Djava.security.policy=$RED5_HOME/conf/red5.policy $JAVA_OPTS"


STREAMING

How do I stream to/from custom directories?
http://red5.googlecode.com/svn/doc/trunk/HOWTO-StreamCustomDirectories.txt


How to detect the end of recording?
see: http://red5.newviewnetworks.com/hudson/docs/org/red5/server/api/stream/IStreamAwareScopeHandler.html


How can I record RTMP streams from Red5?
see: http://ptrthomas.wordpress.com/2008/04/19/how-to-record-rtmp-flash-video-streams-using-red5


Does Red5 support multicast streaming?
It should be noted that multicasting support is not available in the Flash Player. For that reason, no media server can deliver a multi-casting solution to the Flash Player. In addition, many networks have multicasting turned off so it may not be realiable for other platforms either such as Windows Media Player. These solutions usually fall back to unicasting when clients cannot receive muliticasted media. In regards to Unicasting, Red5 already has this functionality. In addition, we have an edge-origin solution sometimes referred to as stream-reapeating.


Can Red5 stream using UDP?
No. Even though Java can stream using UDP, the Flash Player can not receive data sent using UDP.


What is up with H.264?
see here: codecs:h264 FAQ


CODECS

What Codecs does Red5 Support?
Video codecs:
ScreenVideo
On2 VP6
Sorenson H.263
h.264 (Coming soon) see here: codecs:h264 FAQ

Audio codecs:
ADPCM
NellyMoser
MP3
Speex
AAC / MP4A (Coming soon)


What is RTMFP and when will it be available in Red5?
RTMFP stands for "RTMFP (Real Time Media Flow Protocol". You can read more about it in the release notes. Just search the following page: http://labs.adobe.com/technologies/flashplayer10/releasenotes.html

To understand what this protocol is and does, read the following FAQ: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_rtmfp_faq_071708.pdf

Red5 does not support RTMFP. At the moment, there isn't enough exposure to RTMFP and discussion can resume once it is released and more is known about the protocol.


DATABASE

What databases are supported?
Red5 is built with Java. So any database that has a JDBC driver will work.


Can I use Hibernate with Red5?
Yes


SCRIPTING

What scripting languages are available?
Scripting support (JavaScript, Groovy, Beanshell, JRuby, Jython)


Does Red5 support Actionscript 1?
Not yet, but there is development in this area and proof of concepts have been presented at conferences.


Does Red5 support Actionscript 3?
Not yet, but there is development in this area and proof of concepts have viewed by Red5 team members.


SHARED OBJECTS

How can I make a Remote SharedObject persistant on the server?
http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000607.html


How do you setup a Remote SharedObject?
see: http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000607.html


How can I make a Remote SharedObject persistant on the server?
see: http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000607.html


see: http://livedocs.adobe.com/fms/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000607.html


LEGAL STUFF

Licence Information
http://www.opensource.org/licenses/lgpl-license.php

For an easier explanation, please see: http://jira.red5.org/confluence/display/docs/Red5+License+%28LGPL%29


Is Red5 Legal?
Please read our response: http://osflash.org/red5/fud


Red5 WAR version

Is there any documentation on the Red5 war version?
read: http://svn1.cvsdude.com/osflash/red5/doc/trunk/Red5%20War.pdf


MISC

Is there an IRC channel?
Yes: #red5 on irc.freenode.net

Flash non-IRC based chat: http://red5.newviewnetworks.com/iChatBar2/#


Are there any examples on the web?

Below is a list of applications that use Red5. Feel free to add your own!


Is there any professional support?
Companies Listed:

  • Infrared5 ([www.infrared5.com])
  • Red5Server ([www.red5server.com])

Are there hosting solutions?

  • Red5Server ([www.red5server.com])

Are there forums?
see: http://red5server.com/forum/


What is Jedai?
see: [jedai.googlecode.com]


Are there any frameworks that I can start with?
see: [jedai.googlecode.com]
see: [paperworld3d.googlecode.com]


Are there development tools?
see: http://www.red5.org/projects/red5plugin/#


What is Paperworld3D?
see: [www.paperworld3d.org]


What Red5 groups can I join?
Linked in Red5 group: http://www.linkedin.com/e/gis/64004/24689F7691AB


Do we support third party chat programs?
No. The Red5 team does not support the following 3rd party chat programs!

  • red5chat
  • flashpioneer chat
  • etc...

TROUBLESHOOTING

Why am I receiving "closing due to long handshake?
issue: Closing RTMPMinaConnection from [IP_ADDRESS] : 2610 to [IP_ADDRESS] (in: 3415 out 3212 ), with id 512231886 due to long handshake

solution: Have you installed the example your trying to connect to? The examples are installed on demand starting with Red5 0.8. Just check the welcome page http://localhost:5080/ and look for a link that allows you to install them. After an example is installed, you should be able to run the examples.

solution: You are probably connecting from your client to a non-existing application. Make sure the application is running and that you are using the right name. If your application is called "myapp" then connect to "rtmp://yourserver.com/myapp" 

notes: We are improving this so that if an example is chosen, it will be installed.


Impossible to resolve dependencies of red5#server;working@
from the command line issue this command:
ant -Divy.conf.name="java6, eclipse" dist

The problem is that the IvyDE plugin has not caught up to the released version of Ivy of which there is a snapshot in the lib directory, that the ant script uses.
http://gregoire.org/tag/ivy/

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators