![]() |
![]() |
Community Videochat v.5.1 |
Table of contents
OverviewIn this tutorial we will install Flashcoms Community videochat FMS/PHP edition on windows server. First of all unpack zip archive to the http root folder of your website. In this tutorial we will install the video chat to the localhost. FMS InstallationNow let's install FMS (Flash media server 2). You can download the trial version from www.adobe.com. Click next and accept license agreement. Then you will be asked to enter admin login and password. You can choose any login/password for example admin/admin Click next. Now you are prompted to select FMS ports. We reccommend to keep the default values and just click next Now select FMS destination folder we will keep it as is (C:\Program Files\Macromedia\Flash Media Server 2) Now click next, next and install. FMS installed Click finished. To learn more about FMS please refer to FMS documentation. Videochat FMS application installationNow let's install Flashcoms community videochat FMS application. To do that open FMS application folder Copy the flashcoms_5_1_videochat folder which is located in flashcoms/_install/fms/ folder of the installation package to FMS application folder Now let's test that FMS and FMS chat application works fine. To do that open FMS admin console form start->Programs->Macromedia->Flash Media Server 2 menu or, using your windows explorer from C:\Program Files\Macromedia\Flash Media Server 2 folder FMS console will open in browser. Enter you server address, admin login, password and click login You should see something like a screenshot below Click new instance button and select flashcoms_5_1_videochat application You will be prompted about application instance name - keep it as is pressing enter button If you see a screen similar to the screenshot below - it means that FMS is installed, started and you have set up videochat FMS application successfully Red5 InstallationBefore installing Red5 make sure that you have the latest Red5 version - 0.7 final which you can download from osFlash web site. Also Red5 requires JRE v.1.5 or higher. We reccomend to use JRE v.1.6 which you can download from the sun web site. Select Red5 destination folder we will keep it as is (C:\Program Files\Red5) And click Install: Red5 installed. To learn more about Red5 please refer to Red5 documentation. Videochat Red5 application installationNow let's install Flashcoms community videochat Red5 application. To do that open Red5 application folder Copy the flashcoms_5_1_videochat folder which is located in flashcoms/_install/red5/ folder of the installation package to Red5 application folder Now edit red5-web.properties file and set webapp.fcDirectorySettings - path to the settings folder: In our case we set Now let's start Red5. Go to the Red5 installation folder and launch Red5.bat to start up Red5 in console mode. Also you could start/stop Red5 as windows process using StartRed5-NT.bat and StopRed5-NT.bat files. Videochat installationGo to flashcoms/common/server/php/ folder and edit settings.php file Now we have to set the correct values for FLASHCOMS_ROOT, FLASHCOMS_HTTP_ROOT and FLASHCOMS_RTMP_ROOT variables. FLASHCOMS_ROOT is a server path to the flashcoms folder. In our example it is E:/_http/testsite/flashcoms/ FLASHCOMS_HTTP_ROOT is http address of the flashcoms folder on your server. If you unpacked archive to flashcoms folder on your server and domain name is mywebsite.com you should set this value to http://www.yourdomain.com/flashcoms/ In this tutorial we use local server so we set httpRoot variable to http://localhost/testsite/flashcoms/ FLASHCOMS_RTMP_ROOTis the FMS server name. In our tutorial we installed FMS to the local server so we should set this value to rtmp://localhost/ Now open test.php file in your browser. Click Community video chat in the menu on the left and then test in pop up mode If everything has been done right you should see a video chat popup window Congratulations! The video chat is installed. To learn more about chat settings and integration with your web site please follow integration manual which you can find in _docs folder. To enter as an administrator please use login:admin password:admin If you have any problems please visit our support forum. |