13- Run Red5 Distribution

  1. Open eclipse, right click on the red5_server project (where we build the red5 distribution in the last video), and select refresh.
  2. Stop the Red5 service if you have it running: Open Control Panel, click on Services, find the Red5 service, right click on it and select Stop.
  3. START SERVER: Go to the dist directory of your red5_server project (where we built the red5 distribution in the last video): C:\Documents and Settings\Administrator\My Documents\Eclipse\red5_server\dist, and double click on red5.bat.
  4. STOP SERVER: Do NOT click on the close box on the running red5 command prompt...this can mess everything up. To stop Red5 correctly: double click on red5-shutdown.bat. If you get an error like the one below, then see my next video that will show you how to fix it.
    'C:\Documents' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .

    NOTE: I recommend opening red5-shutdown.bat in notepad and adding the word PAUSE to the end of it so that you can see the output and make sure it works. Later you should remove this PAUSE statement, after you are sure it works.

    NOTE: If you cannot get red5-shutdown.bat to work, then use ctrl-c in the running red5 command prompt (the one started by red5.bat). Using ctrl-c is better than clicking on the close box, which can mess everything up.
« Back to Home