FlashPioneer Video Chat Installation Documentation
Copyright (C) 2001-2006 SourceTec Software Co., LTD.
All Rights Reserved

----------------------------------------------------------------
Table of Contents
      
    * System Requirements
    * Install Red5 Server on Windows

----------------------------------------------------------------

SYSTEM REQUIREMENTS

    Supported Operating Systems
        Windows, Linux, Unix, Solaris, Freed BSD, MacOSX and Debian systems

    Software Environment Requirements
        Java 1.5 JDK or a higher

    Hardware Requirements
        X86-compatible CPU (PII, 500MHz or better)
        256 MB available RAM
        100 MB of available disk space


----------------------------------------------------------------

INSTALL RED5 SERVER ON WINDOWS

    Download required files

        Red5:
            Download the latest Red5 edition (currently is 0.6.3) for Windows.
            Download page: http://www.osflash.org/red5/red5downloads

        JDK: 
            Download from the official site. Red5 requires JDK1.5 or a higher 
            version to be used and here it is JDK-1_5_0_11.
            Download page: http://www.sun.com/download/


    Installation Step

        1) Install JDK

            If you have installed JDK, please go to next step.

            Double-click the installation file jdk-1_5_0_11-windows-i586-p.exe 
            to start installation. The whole installation process is simple and 
            users just need to pay attention to the selection of installation 
            path. 

            The file path can only be composed by letter, number and underline. 
            It can not contain blank space or any other special characters. The 
            structure and level of directory are very clear, e.g. D:\JDK, so it 
            is convenience for maintain later. Even if JDK is upgraded, it does 
            not affect the use of other program because the path doesn't 
            change.

        2) System Environment Configuration: 

            Right click "My Computer", go to "Properties", "Advanced", and 
            select "Environment Variables".

            Add following variables: (Suppose the installation path of Java JDK 
            is D:\jdk.) 
            PATH          D:\jdk\bin
            CLASSPATH     .;D:\jdk\lib;D:\jdk\lib\tools.jar;D:\jdk\lib\dt.jar
            JAVA_HOME     D:\jdk
            Note: Here "." cannot be omitted.

            If variable name exists already, edit it and add relevant 
            information.

            When finishing configuration, we need to test if the JAVA 
            developing environment has been installed successfully or not. Open 
            the command-line window and input command "java" and execute it. If 
            there is no error message that means the installation is 
            successful. If not, please check if you have finished the above 
            steps correctly. 

        3) Start the installation of Red5.

            Double-click the downloaded file setup-red5-0.6.2.exe to show 
            installation wizard.

            Following the wizard, it requires to select a path for JAVA Runtime 
            Environment (JRE). The installation will search for the path 
            automatically, and if it failed, please define one manually.

            Then select the installation directory of Red5 and non-system disk 
            is recommended, for example: D:\red5.

            And then select components to install. By default, all items are 
            selected and we do not suggest changing the settings.

            There are installation options in "Select Additional Tasks".
            If you want to set it as system service, pick "Register as 
            service". (Recommended)
            If you want to "Create a desktop icon", tick the left checkbox.
            If you want to "Download sample streams", tick the left checkbox.

        4) Red5 Configuration

            Last, pay attention to the system configuration of Red5.

            RTMP port is the serving port of Red5 and it is the communication 
            port of server and client.
            HTTP servlet engine port is the http communication port of Red5 and 
            it is mostly used by administrator.

            In default situation, no change is needed, unless a default port 
            has already been occupied by other applications. If so, change it 
            to an idle port. (Note: Only port number above 1024 is permitted.) 

            Besides, please pay attention to the notice, the password of Red5 
            default administrator account is "admin".

            When installation is finished, we can still change the port. Enter 
            into Red5 installation catalogue, open file "red5.properties" under 
            folder "conf":

                        rtmp.host_port = 0.0.0.0:1982
                        http.host = 0.0.0.0
                        http.port = 5080
                        rtmpt.host = 0.0.0.0
                        rtmpt.port = 8088
                        debug_proxy.host_port = 1936
                        proxy_forward.host_port = 127.0.0.1:5080
                        rtmp.threadcount = 4 

            Here list the basic configuration, and for more details please 
            consult the help file of Red5. After changing port, the new port 
            does not go into effect until the Red5 server is restarted.

            The whole installation is finished by now. We can find Services 
            program in the "Management Tools" of "Control Panel". Start it, 
            then find Red5.

            Start up the service, visit http://127.0.0.1:5080/admin, and log in 
            as "admin" and so as the password. If everything is OK, it means 
            Red5 has already worked.



END
