http://www.youtube.com/watch?v=GnGcx0Sw8bEendofvid [starttext] This is a Video Tutorial explains how to fix Red5plugin not working
I cannot get rid of the Server Runtimes and they are mounting up.
I cannot get rid of the Runtime Configurations and they are mounting up.
I can only get 2 Applications to work using the Red5plugin...all applications after that do not work. I can get the server app to work but not the client app...the message box says Unsucessful Connection.
[endtext]
Showing posts with label Red5. Show all posts
Showing posts with label Red5. Show all posts
Red5 Problems - Red5 Questions - Red5 Video Tutorial
http://www.youtube.com/watch?v=TR8Wxv3UF78endofvid [starttext] This is a Video Tutorial explains
How do I delete/edit a target runtime?
How do I delete/edit runtime configurations?
When do I use the Red5 service I installed, and when do I use the Red5 distribution I built (they can't be running at the same time...I can only use one at a time).
UPDATE: I think I may know the answer to this.
You use the installed Red5 service in the following scenerios:
When you deploy it to a server
When you run an application that is not built with the Red5plugin
You use the Red5 distribution in the following scenerios:
When you run a Red5plugin application (you run it, and you must stop the installed service)
The distribution is used to build red5 projects (with or without plugin). But you can still use the installed service to run it...you need not run it using the distribution.
I installed ANT, but never used it. Should I uninstall it?
UPDATE: I think it is used when I created a non-plugin Red5 Application. It may also be used when I create a Red5plugin application, but I'm not totally sure. I think I'll leave it installed.
[endtext]
How do I delete/edit a target runtime?
How do I delete/edit runtime configurations?
When do I use the Red5 service I installed, and when do I use the Red5 distribution I built (they can't be running at the same time...I can only use one at a time).
UPDATE: I think I may know the answer to this.
You use the installed Red5 service in the following scenerios:
When you deploy it to a server
When you run an application that is not built with the Red5plugin
You use the Red5 distribution in the following scenerios:
When you run a Red5plugin application (you run it, and you must stop the installed service)
The distribution is used to build red5 projects (with or without plugin). But you can still use the installed service to run it...you need not run it using the distribution.
I installed ANT, but never used it. Should I uninstall it?
UPDATE: I think it is used when I created a non-plugin Red5 Application. It may also be used when I create a Red5plugin application, but I'm not totally sure. I think I'll leave it installed.
[endtext]
How to Install Red5 0.9 on Windows - Red5 Video Tutorial
http://www.youtube.com/watch?v=nQq3hknC2Nsendofvid [starttext]
This is a Video Tutorial explains How to How to Install Red5 0.9 on Windows
[endtext]
This is a Video Tutorial explains How to How to Install Red5 0.9 on Windows
[endtext]
Video Tutorial Red5 - Install JDK/JRE on Windows (for Red5)
http://www.youtube.com/watch?v=7XvwxRVxgHsendofvid [starttext] This is a Video Tutorial explains
1. Go to http://java.sun.com/, mouse over Downloads in the top menu bar, and choose Java SE. Click on Download JDK button. Then select your platform (select 32-bit version for windows even if you have 64-bit), check the checkbox to accept the terms and click the Download button. Then click on the jdk-6u18-windows-i586.exe link to download it. Click Save button.
NOTE: The latest version right now is JDK 6 Update 18, and the filename is jdk-6u18-windows-i586.exe.
IMPORTANT: Even if you have a 64-bit computer, you should download the 32-bit version of the JDK. Eclipse seems to want the 32-bit version.
I tried installing the 64-bit version and I got this error when I start Eclipse:
A Java Runtime (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
No Java Virtual Machine was found.
2. Double click on the jdk-6u18-windows-i586.exe file on your computer to install the JDK. First it will install the JDK then it will install the JRE. It will ask you where on your computer to install each of them. You can just leave the default, which is C:\Program Files (x86)\Java\jdk1.6.0_18 and the JRE in C:\Program Files (x86)\Java\jre6.
NOTE: Usually, I like to keep 32-bit software in C:\Program Files and 64-bit software in C:\Program Files (x86). But for some reason, Sun has decided to install java by default to opposite folders...32-bit version in C:\Program Files (x86) and 64-bit version in C:\Program Files. I tried flipping them around and I got errors during installation...so I just ended up leaving the defaults.
3. And now the JDK/JRE are installed. Go to C:\Program Files (x86)\Java (or wherever you installed it) and you will see two folders: jdk1.6.0_18 and jre6.
[endtext]
NOTE: The latest version right now is JDK 6 Update 18, and the filename is jdk-6u18-windows-i586.exe.
IMPORTANT: Even if you have a 64-bit computer, you should download the 32-bit version of the JDK. Eclipse seems to want the 32-bit version.
I tried installing the 64-bit version and I got this error when I start Eclipse:
A Java Runtime (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
No Java Virtual Machine was found.
2. Double click on the jdk-6u18-windows-i586.exe file on your computer to install the JDK. First it will install the JDK then it will install the JRE. It will ask you where on your computer to install each of them. You can just leave the default, which is C:\Program Files (x86)\Java\jdk1.6.0_18 and the JRE in C:\Program Files (x86)\Java\jre6.
NOTE: Usually, I like to keep 32-bit software in C:\Program Files and 64-bit software in C:\Program Files (x86). But for some reason, Sun has decided to install java by default to opposite folders...32-bit version in C:\Program Files (x86) and 64-bit version in C:\Program Files. I tried flipping them around and I got errors during installation...so I just ended up leaving the defaults.
3. And now the JDK/JRE are installed. Go to C:\Program Files (x86)\Java (or wherever you installed it) and you will see two folders: jdk1.6.0_18 and jre6.
Red5 Video Tutorial - Install Eclipse on Windows (for Red5)
http://www.youtube.com/watch?v=FZXUgXtjlEEendofvid [starttext] This is a Video Tutorial explains how to Install Eclipse on Windows (for Red5)
Go to http://www.eclipse.org/downloads/, then click on the link that says Eclipse IDE for Java EE Developers (189 MB), then download it and save it to your hard drive. The file is named eclipse-jee-galileo-SR1-win32.zip.
Extract eclipse-jee-galileo-SR1-win32.zip anywhere on your computer. I have extracted it to C:\Program Files (it will make a new directory called eclipse, so it will end up being located in C:\Program Files\eclipse.
NOTE: Eclipse does not need to be installed, all you have to do is extract it. You can create a desktop shortcut to the eclipse.exe file to make it easier to access later.
TO RUN ECLIPSE: double click on eclipse.exe, then click the Run button. Then browse to a folder where you want to store your eclipse projects (otherwise known as your workspace). I have used C:\Documents and Settings\Administrator\My Documents\Eclipse. Then click the OK button and eclipse will start up.
[endtext]
Go to http://www.eclipse.org/downloads/, then click on the link that says Eclipse IDE for Java EE Developers (189 MB), then download it and save it to your hard drive. The file is named eclipse-jee-galileo-SR1-win32.zip.
Extract eclipse-jee-galileo-SR1-win32.zip anywhere on your computer. I have extracted it to C:\Program Files (it will make a new directory called eclipse, so it will end up being located in C:\Program Files\eclipse.
NOTE: Eclipse does not need to be installed, all you have to do is extract it. You can create a desktop shortcut to the eclipse.exe file to make it easier to access later.
TO RUN ECLIPSE: double click on eclipse.exe, then click the Run button. Then browse to a folder where you want to store your eclipse projects (otherwise known as your workspace). I have used C:\Documents and Settings\Administrator\My Documents\Eclipse. Then click the OK button and eclipse will start up.
[endtext]
How to Install Ant on Windows (for Red5) - Red5 Video Tutorial
http://www.youtube.com/watch?v=9nXBzFtbCbcendofvid [starttext] This is a Video Tutorial explains How to Install Ant on Windows (for Red5)
[endtext]
[endtext]
How to Set environment variables for Red5 - Red5 Video Tutorial
http://www.youtube.com/watch?v=b_y5tCxBrIQendofvid [starttext] This is a Video Tutorial explains How to Set environment variables for Red5
Open your Control Panel, then double click on System, then click on the Advanced tab, then click on Environment Variables button.
ADD ANT TO PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your Ant installation (C:\Program Files\ANT\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
ADD JDK TO YOUR PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your JDK installation (C:\Program Files (x86)\Java\jdk1.6.0_18\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
NOTE: When you add JDK to your path, instead of adding it as C:\Program Files (x86)\Java\jdk1.6.0_18\bin, you could have added it as %JAVA_HOME%\bin. %JAVA_HOME%\bin would reference the JAVA_HOME variable we define below and would resolve to C:\Program Files (x86)\Java\jdk1.6.0_18
ADD JAVA_HOME VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_HOME". For the value, put the path to your jdk installation, C:\Program Files (x86)\Java\jdk1.6.0_18. Then click the OK button.
ADD JAVA_VERSION VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_VERSION". For the value, put 1.6 (the version of the jdk you installed). Then click the OK button.
TEST IT: If you have a command prompt open, then close it and open a new one (the old one won't recognize the changes to environment variables). In the new command prompt, type in "ant", and it should say "build.xml does not exist" (we'll fix that later). Now type in "set JAVA_HOME", and it should display the path you entered for JAVA_HOME. Now type in "set JAVA_VERSION" and it should display 1.6.
NOTE: If you had eclipse open, while you made changes to your environment variables, then you should close it and open it again. Otherwise, it will not recognize the changes you made to your environment variables.
[endtext]
Open your Control Panel, then double click on System, then click on the Advanced tab, then click on Environment Variables button.
ADD ANT TO PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your Ant installation (C:\Program Files\ANT\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
ADD JDK TO YOUR PATH: Find Path variable in your list of System Variables, click on it, then click on Edit button. Now add the path to the bin directory of your JDK installation (C:\Program Files (x86)\Java\jdk1.6.0_18\bin) to the end of your path. Make sure to separate it from the list of paths with a semicolon (each path in the list is separated by a semicolon). Be sure to not replace what is there, just add to the end. Now click OK button.
NOTE: When you add JDK to your path, instead of adding it as C:\Program Files (x86)\Java\jdk1.6.0_18\bin, you could have added it as %JAVA_HOME%\bin. %JAVA_HOME%\bin would reference the JAVA_HOME variable we define below and would resolve to C:\Program Files (x86)\Java\jdk1.6.0_18
ADD JAVA_HOME VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_HOME". For the value, put the path to your jdk installation, C:\Program Files (x86)\Java\jdk1.6.0_18. Then click the OK button.
ADD JAVA_VERSION VARIABLE: Click on New button to add a new system variable. For the name, type in "JAVA_VERSION". For the value, put 1.6 (the version of the jdk you installed). Then click the OK button.
TEST IT: If you have a command prompt open, then close it and open a new one (the old one won't recognize the changes to environment variables). In the new command prompt, type in "ant", and it should say "build.xml does not exist" (we'll fix that later). Now type in "set JAVA_HOME", and it should display the path you entered for JAVA_HOME. Now type in "set JAVA_VERSION" and it should display 1.6.
NOTE: If you had eclipse open, while you made changes to your environment variables, then you should close it and open it again. Otherwise, it will not recognize the changes you made to your environment variables.
[endtext]
How to Install Subversion (TortoiseSVN) on Windows (for Red5) - Red5 Video Tutorial
http://www.youtube.com/watch?v=pG9aR5I6RT0endofvid [starttext] This is a Video Tutorial explains How to Install Subversion (TortoiseSVN) on Windows (for Red5)
Go to http://tortoisesvn.net/downloads, scroll down to where it says Download Application then choose your version, 32 bit or 64 bit, and click on the msi file (I chose the 64bit version and that is called TortoiseSVN-1.6.7.18415-x64-svn-1.6.9.msi). Then click on direct link and press Save button to save it to your hard drive.
NOTE: TortoiseSVN is one of many SVN products out there. Someone recommended it to me and told me that it works very well on Windows. There are other SVN products located at http://subversion.tigris.org/ and http://subversion.apache.org/. I really like TortoiseSVN because it is easy to use, and I don't have to use the command prompt to use it.
Double click on the TortoiseSVN-1.6.7.18415-x64-svn-1.6.9.msi file on your computer to install Tortoise SVN. By default it will be installed to C:\Program Files\TortoiseSVN. Then restart your computer for the changes to take effect.
[endtext]
Go to http://tortoisesvn.net/downloads, scroll down to where it says Download Application then choose your version, 32 bit or 64 bit, and click on the msi file (I chose the 64bit version and that is called TortoiseSVN-1.6.7.18415-x64-svn-1.6.9.msi). Then click on direct link and press Save button to save it to your hard drive.
NOTE: TortoiseSVN is one of many SVN products out there. Someone recommended it to me and told me that it works very well on Windows. There are other SVN products located at http://subversion.tigris.org/ and http://subversion.apache.org/. I really like TortoiseSVN because it is easy to use, and I don't have to use the command prompt to use it.
Double click on the TortoiseSVN-1.6.7.18415-x64-svn-1.6.9.msi file on your computer to install Tortoise SVN. By default it will be installed to C:\Program Files\TortoiseSVN. Then restart your computer for the changes to take effect.
[endtext]
How to check out Red5 source with Subversion (TortoiseSVN) - Red5 Video Tutorial
http://www.youtube.com/watch?v=3hfWgTN_qnkendofvid [starttext] This is a Video Tutorial explains how to Check out Red5 source with Subversion (TortoiseSVN)
[endtext]
[endtext]
How to Install Ivyde on Windows (for Red5) - Red5 Video Tutorial
http://www.youtube.com/watch?v=5iTmwIqlhsQendofvid [starttext] This is a Video Tutorial explains How to Install Ivyde on Windows (for Red5)
[endtext]
[endtext]
How to Install Subclipse on Windows (for Red5) - Red5 Video Tutorial
http://www.youtube.com/watch?v=Q9ZlXegZDLkendofvid [starttext] This is a Video Tutorial explains How to Install Subclipse on Windows (for Red5)
Go to http://subclipse.tigris.org/, then click on Download and Install tab, then under where it says Current Release, find the latest release and copy the Eclipse update site URL.
Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
Open eclipse, click on Help in the top menubar, then click on Install New Software, then click the Add button. Then for name, type in Subclipse and for location, copy it from the Subclipse site (in step 1).
(In eclipse: in the name field, use Subclipse and in the location field, use http://subclipse.tigris.org/update_1.6.x.) Then click OK.
There will be a list of items with checkboxes....check all boxes in the list. They should say:
Core SVNKit Library
Optional JNA Library
Subclipse
Expand each of the above items and make sure all checkboxes under them are checked. Then click Next », then click Next » again, then check the box to accept the terms, the click Finish, and wait while it downloads Subclipse.
If you get a warning message like the one below, then just click OK:
Warning: You are installing software that contains unsigned content. The
authenticity or validity of this software cannot be established. Do you want to
continue with the installation?
Then click Yes to restart eclipse.
[endtext]
Go to http://subclipse.tigris.org/, then click on Download and Install tab, then under where it says Current Release, find the latest release and copy the Eclipse update site URL.
Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
Open eclipse, click on Help in the top menubar, then click on Install New Software, then click the Add button. Then for name, type in Subclipse and for location, copy it from the Subclipse site (in step 1).
(In eclipse: in the name field, use Subclipse and in the location field, use http://subclipse.tigris.org/update_1.6.x.) Then click OK.
There will be a list of items with checkboxes....check all boxes in the list. They should say:
Core SVNKit Library
Optional JNA Library
Subclipse
Expand each of the above items and make sure all checkboxes under them are checked. Then click Next », then click Next » again, then check the box to accept the terms, the click Finish, and wait while it downloads Subclipse.
If you get a warning message like the one below, then just click OK:
Warning: You are installing software that contains unsigned content. The
authenticity or validity of this software cannot be established. Do you want to
continue with the installation?
Then click Yes to restart eclipse.
[endtext]
How to Build Red5 Distribution - Red5 Video Tutorial
http://www.youtube.com/watch?v=6_ddwvivzhoendofvid [starttext] This is a Video Tutorial explains How to Build Red5 Distribution - Red5 Video Tutorial
[endtext]
[endtext]
How to Install Red5plugin on Windows - Red5 Video Tutorial
http://www.youtube.com/watch?v=ua_CVxZnBxgendofvid [starttext] This is a Video Tutorial Shows you how to install the Red5plugin on Windows.
But first you must install the following 3 programs:
Ivyde:
http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-install-ivyde-on-windows-for.html
Subclipse:
http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-install-subclipse-on-windows-for.html
FlashBuilder:
http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-install-flashbuilder-for-red5.html
The links above will show you how to install each of the 3 programs.
[endtext]
But first you must install the following 3 programs:
Ivyde:
http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-install-ivyde-on-windows-for.html
Subclipse:
http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-install-subclipse-on-windows-for.html
FlashBuilder:
http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-install-flashbuilder-for-red5.html
The links above will show you how to install each of the 3 programs.
[endtext]
How to Install Flashbuilder (for Red5) - Red5 Video Tutorial
http://www.youtube.com/watch?v=PMWGep79S2Qendofvid [starttext] This is a Video Tutorial explains How to Install Flashbuilder (for Red5)
[endtext]
[endtext]
How to Run Red5 Distribution - Red5 Video Tutorial
http://www.youtube.com/watch?v=bplO44DQmvAendofvid [starttext] This is a Video Tutorial explains How to Run Red5 Distribution - Red5 Video Tutorial
[endtext]
[endtext]
red5-shutdown.bat and red5-debug.bat - Red5 Video Tutorial
http://www.youtube.com/watch?v=E7MePjxxc8cendofvid [starttext] This is a Video Tutorial explains red5-shutdown.bat and red5-debug.bat
Go to your red5_server eclipse project dist directory (C:\Documents and Settings\Administrator\My Documents\Eclipse\red5_server\dist), and open the red5-shutdown.bat file in notepad. Find the line that says:
%RED5_HOME%\red5.bat
and put quotes around it so that it now reads:
"%RED5_HOME%\red5.bat"
Now open the red5-debug.bat file in notepad. Find the line that says:
%RED5_HOME%\red5.bat
and put quotes around it so that it now reads:
"%RED5_HOME%\red5.bat"
TEST IT: double click on red5-debug.bat to start red5 service. Then double click on red5-shutdown.bat to stop it.
[endtext]
Go to your red5_server eclipse project dist directory (C:\Documents and Settings\Administrator\My Documents\Eclipse\red5_server\dist), and open the red5-shutdown.bat file in notepad. Find the line that says:
%RED5_HOME%\red5.bat
and put quotes around it so that it now reads:
"%RED5_HOME%\red5.bat"
Now open the red5-debug.bat file in notepad. Find the line that says:
%RED5_HOME%\red5.bat
and put quotes around it so that it now reads:
"%RED5_HOME%\red5.bat"
TEST IT: double click on red5-debug.bat to start red5 service. Then double click on red5-shutdown.bat to stop it.
[endtext]
How to Build Multiple Red5 Distributions - Red5 Video Tutorial
http://www.youtube.com/watch?v=wklnf1l7DyIendofvid [starttext] This is a Video Tutorial explains how to Build Multiple Red5 Distributions
Open eclipse, and open your red5_server project (that we build in a previous video), delete the dist folder (we will be recreating this folder in a minute and putting multiple distributions, each in their own folder, into this folder). Right click on the project, and click on Refresh.
Click on the Run Last Tool icon in the top nav of eclipse, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r1 (where r1 stands for revision
1...you can name each revision r1, r2, r3, etc.), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r1 directory in your dist directory.
TO MAKE A SECOND DISTRIBUTION: Click on the the Run Last Tool icon in the top nav again, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r2 (change the 1 to a 2), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r2 directory in your dist directory.
NOTE: The reason to create multiple Red5 distributions, is so that we can keep getting the latest Red5 source, without having to go back and update all our old projects.... so we can have different projects using different build distributions of Red5.
[endtext]
Open eclipse, and open your red5_server project (that we build in a previous video), delete the dist folder (we will be recreating this folder in a minute and putting multiple distributions, each in their own folder, into this folder). Right click on the project, and click on Refresh.
Click on the Run Last Tool icon in the top nav of eclipse, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r1 (where r1 stands for revision
1...you can name each revision r1, r2, r3, etc.), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r1 directory in your dist directory.
TO MAKE A SECOND DISTRIBUTION: Click on the the Run Last Tool icon in the top nav again, then click on External Tools Configuration, and where it says Arguments, type in: -Ddist.dir=dist/r2 (change the 1 to a 2), then click the Apply button, then click the Run button...and it will compile and it should say BUILD SUCCESSFUL. Now right click on your project and click on Refresh and you'll see the new r2 directory in your dist directory.
NOTE: The reason to create multiple Red5 distributions, is so that we can keep getting the latest Red5 source, without having to go back and update all our old projects.... so we can have different projects using different build distributions of Red5.
[endtext]
How to Run Red5 Distribution in Eclipse - Red5 Video Tutorial
http://www.youtube.com/watch?v=01Q-e9KyOmYendofvid [starttext] This is a Video Tutorial explains How to Run Red5 Distribution in Eclipse
In this video we will run the r1 distribution we created in the last video inside eclipse. In order to run the red5 distribution, we need to create a runtime configuration.
Open eclipse and open the red5_server project, click on the Run arrow icon, click on Run Configurations, Right click on Java Application in the left sidebar, and click on New.
For the Project:, type in red5_server (that is the project that has our red5_distribution).
For Main Class, click on the Search button, type in bootstrap, then click on the item in the list that says Bootstrap - ord.red5.server, then click OK.
Then give the distribution a name in the Name: box, type in Distribution r1 (that way we will know that this Runtime Configuration is for the r1 distribution).
Now click on the Arguments tab, then click on the Other radio button, then click on the Workspace button, then expand the red5_server project, then expand the dist folder, and then click on r1 folder. Then click OK button.
Then click on the classpath tab, then click on red5_server and click on Remove button. Then click on User Entries and click on Add JARS button. Expand the red5_server project, and expand the dist folder, then expand r1 folder, then click on boot.jar. Then click on OK button. Then click on the Apply button. Then click on the Run button. And it will compile, and then it will say "Installer Service Created".
To stop Red5, click on the Red stop button.
[endtext]
In this video we will run the r1 distribution we created in the last video inside eclipse. In order to run the red5 distribution, we need to create a runtime configuration.
Open eclipse and open the red5_server project, click on the Run arrow icon, click on Run Configurations, Right click on Java Application in the left sidebar, and click on New.
For the Project:, type in red5_server (that is the project that has our red5_distribution).
For Main Class, click on the Search button, type in bootstrap, then click on the item in the list that says Bootstrap - ord.red5.server, then click OK.
Then give the distribution a name in the Name: box, type in Distribution r1 (that way we will know that this Runtime Configuration is for the r1 distribution).
Now click on the Arguments tab, then click on the Other radio button, then click on the Workspace button, then expand the red5_server project, then expand the dist folder, and then click on r1 folder. Then click OK button.
Then click on the classpath tab, then click on red5_server and click on Remove button. Then click on User Entries and click on Add JARS button. Expand the red5_server project, and expand the dist folder, then expand r1 folder, then click on boot.jar. Then click on OK button. Then click on the Apply button. Then click on the Run button. And it will compile, and then it will say "Installer Service Created".
To stop Red5, click on the Red stop button.
[endtext]
How to Debug Red5 source Code - Red5 Video Tutorial
http://www.youtube.com/watch?v=EthwDjf3W9Mendofvid [starttext] This is a Video Tutorial explains How to Debug Red5 source Code
First create a debug configuration in eclipse. Click on the Debug icon in the top nav, then click on Debug Configurations, then click on the Source tab, then click on the Add button, then click on Java Project and click OK, then check the checkbox next to red5_server project, then click OK button. Then click Apply button, then click Debug button, and wait for it to compile. When it is done compiling, it should say: INSTALLER SERVICE CREATED
Press the red stop button, to stop it.
TO SET BREAKPOINT: type ctrl+shif+r, type in bootstrap, and select Bootstrap.java in the list, and click Open button, and it will open Bootstrap.java. Bootstrap.java has the main function which gets called when Red5 first starts. Set a breakpoint on the line that reads: public static void main(String args) To set the breakpoint double click on the left edge of the file on that line.
TO TURN ON LINE NUMBERING: click on Window in the top nav, then click on Preferences, then expand General, then expand Editors, then click on Text Editors, then check the box that says Show line numbers, and then click OK button. And now the line numbers will appear on the left of each line (making it easier to keep track of breakpoints).
TO DEBUG: Click on the Debug icon in the top nav again, then click on Distribution r1, a message will popup asking if we want to open the debug perspective...click the Yes button. And now it will go to our first breakpoint.
Use f5 to step into.
Use f6 to step over.
TO STOP DEBUGGING: click on Run in the top nav, then click on Terminate.
TO RESET THE LAYOUT: click on Window in the top nav, then click on Open Perspective, then click on Java EE.
[endtext]
First create a debug configuration in eclipse. Click on the Debug icon in the top nav, then click on Debug Configurations, then click on the Source tab, then click on the Add button, then click on Java Project and click OK, then check the checkbox next to red5_server project, then click OK button. Then click Apply button, then click Debug button, and wait for it to compile. When it is done compiling, it should say: INSTALLER SERVICE CREATED
Press the red stop button, to stop it.
TO SET BREAKPOINT: type ctrl+shif+r, type in bootstrap, and select Bootstrap.java in the list, and click Open button, and it will open Bootstrap.java. Bootstrap.java has the main function which gets called when Red5 first starts. Set a breakpoint on the line that reads: public static void main(String args) To set the breakpoint double click on the left edge of the file on that line.
TO TURN ON LINE NUMBERING: click on Window in the top nav, then click on Preferences, then expand General, then expand Editors, then click on Text Editors, then check the box that says Show line numbers, and then click OK button. And now the line numbers will appear on the left of each line (making it easier to keep track of breakpoints).
TO DEBUG: Click on the Debug icon in the top nav again, then click on Distribution r1, a message will popup asking if we want to open the debug perspective...click the Yes button. And now it will go to our first breakpoint.
Use f5 to step into.
Use f6 to step over.
TO STOP DEBUGGING: click on Run in the top nav, then click on Terminate.
TO RESET THE LAYOUT: click on Window in the top nav, then click on Open Perspective, then click on Java EE.
[endtext]
How to Create Red5 Application (without Red5plugin) - Red5 Video Tutorial
http://www.youtube.com/watch?v=szgG9sFD7IQendofvid [starttext]
Go to http://code.google.com/p/red5/, scroll down to where it says Red5 0.9.0 Final, and click on the ZIP link, and save the file, red5-0.9.0.zip to your hard drive.
Scroll back up on the google site and click on Updates in the top nav, then click on r4037 (or whatever the latest is), click on /java/server/trunk/project.zip link, then right click on View Raw File, choose Save Target As, and save project.zip to your hard drive (to the same place where you saved the red5-0.9.0.zip.)
Scroll back up on the google site and click on trunk in the top nav, click on util.xml at the bottom of the list, right click on View Raw File, choose Save Target As, and save util.xml to your hard drive (to the same place where you saved the other 2 zips)
Now that all 3 files are saved to the same location, extract the red5-0.9.0.zip file (extract it to the same location as the zips). Extracting red5-0.9.0.zip will put a new lib folder there, and we will save something there in the next step.
Click on the Source tab on the Google site, and copy the URL from this line and paste in in your browser:
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5-read-only
then click on the lib link, then right click on ivy-2.1.0.jar link and select Save Target As and save it to your hard drive. Save it to the lib folder that was created when you extracted red5-0.9.0.zip.
Open the build.properties file in Wordpad. (will be in the root of the folder where you extracted red5-0.9.0.zip). Find the ivy.version and make sure it is the same one you downloaded. (it should say ivy.version=ivy-2.1.0 if you downloaded ivy-2.1.0.jar).
Open a command prompt, and go to the directory where you downloaded the files and extracted red5-0.9.0.zip.
This is what I typed in the command prompt to change directories:
D:
cd D:\Red5\red5_project_maker
Now type in:
ant -f util.xml project
and now it will ask 3 questions about my project, so that it can create it for me:
[input] Please enter your projects name (ie. mycoolred5app):
testapp
[input] Please enter your workspace path (ie. c:\\eclipse\\workspace): [c:/eclipse/workspace]
C:\Documents and Settings\Administrator\My Documents\Eclipse
[input] Please enter your package namespace (ie. org.red5): [org.red5.app]:
com.testapp
Now it should say BUILD SUCCESSFUL, which means it has created the project for me.
If you go to your Eclipse workspace folder, you will see it has created a new testapp folder with the application in it.
IMPORT THE PROJECT TO ECLIPSE: Right click on the Project Explorer, choose Import, click on Import again, then select Existing Projects into Workspace under General, click Next > button. Then where it says Select root directory, give it the location of your testapp directory: C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp, click on the Refresh button, then check the box that says Add project to working sets, then select All in the Working sets dropdown. Then click on Finish and it will import the application.
Right click on the testapp application, select Properties, click on Java Build Path in the left sidebar, then click on Projects tab, and you should see red5_server in the list that says Required projects on the build path. That is the project where we built the red5 distribution. Then click on OK button.
CREATE A SECOND APPLICATION: open the command prompt again. Again type in:
ant -f util.xml project
and again it will ask 3 questions:
[input] Please enter your projects name (ie. mycoolred5app):
testapp2
[input] Please enter your workspace path (ie. c:\\eclipse\\workspcae): [c:/eclipse/workspace]
C:\Documents and Settings\Administrator\My Documents\Eclipse
[input] Please enter your package namespace (ie. org.red5): [org.red5.app]:
com.testapp2
Now it should say BUILD SUCCESSFUL, which means it has created the project for me.
If you go to your Eclipse workspace folder, you will see it has created a new testapp2 folder with the application in it.
IMPORT THE SECOND PROJECT TO ECLIPSE: Right click on the Project Explorer, choose Import, click on Import again, then select Existing Projects into Workspace under General, click Next > button. Then where it says Select root directory, give it the location of your testapp2 directory: C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp2, click on the Refresh button, then check the box that says Add project to working sets, then select All in the Working sets dropdown. Then click on Finish and it will import the application.
Right click on the testapp2 application, select Properties, click on Java Build Path in the left sidebar, then click on Projects tab, and you should see red5_server in the list that says Required projects on the build path. That is the project where we built the red5 distribution. Then click on OK button.
Source: http://www.red5guide.com/create_red5_application_without_plugin.html
[endtext]
Go to http://code.google.com/p/red5/, scroll down to where it says Red5 0.9.0 Final, and click on the ZIP link, and save the file, red5-0.9.0.zip to your hard drive.
Scroll back up on the google site and click on Updates in the top nav, then click on r4037 (or whatever the latest is), click on /java/server/trunk/project.zip link, then right click on View Raw File, choose Save Target As, and save project.zip to your hard drive (to the same place where you saved the red5-0.9.0.zip.)
Scroll back up on the google site and click on trunk in the top nav, click on util.xml at the bottom of the list, right click on View Raw File, choose Save Target As, and save util.xml to your hard drive (to the same place where you saved the other 2 zips)
Now that all 3 files are saved to the same location, extract the red5-0.9.0.zip file (extract it to the same location as the zips). Extracting red5-0.9.0.zip will put a new lib folder there, and we will save something there in the next step.
Click on the Source tab on the Google site, and copy the URL from this line and paste in in your browser:
svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5-read-only
then click on the lib link, then right click on ivy-2.1.0.jar link and select Save Target As and save it to your hard drive. Save it to the lib folder that was created when you extracted red5-0.9.0.zip.
Open the build.properties file in Wordpad. (will be in the root of the folder where you extracted red5-0.9.0.zip). Find the ivy.version and make sure it is the same one you downloaded. (it should say ivy.version=ivy-2.1.0 if you downloaded ivy-2.1.0.jar).
Open a command prompt, and go to the directory where you downloaded the files and extracted red5-0.9.0.zip.
This is what I typed in the command prompt to change directories:
D:
cd D:\Red5\red5_project_maker
Now type in:
ant -f util.xml project
and now it will ask 3 questions about my project, so that it can create it for me:
[input] Please enter your projects name (ie. mycoolred5app):
testapp
[input] Please enter your workspace path (ie. c:\\eclipse\\workspace): [c:/eclipse/workspace]
C:\Documents and Settings\Administrator\My Documents\Eclipse
[input] Please enter your package namespace (ie. org.red5): [org.red5.app]:
com.testapp
Now it should say BUILD SUCCESSFUL, which means it has created the project for me.
If you go to your Eclipse workspace folder, you will see it has created a new testapp folder with the application in it.
IMPORT THE PROJECT TO ECLIPSE: Right click on the Project Explorer, choose Import, click on Import again, then select Existing Projects into Workspace under General, click Next > button. Then where it says Select root directory, give it the location of your testapp directory: C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp, click on the Refresh button, then check the box that says Add project to working sets, then select All in the Working sets dropdown. Then click on Finish and it will import the application.
Right click on the testapp application, select Properties, click on Java Build Path in the left sidebar, then click on Projects tab, and you should see red5_server in the list that says Required projects on the build path. That is the project where we built the red5 distribution. Then click on OK button.
CREATE A SECOND APPLICATION: open the command prompt again. Again type in:
ant -f util.xml project
and again it will ask 3 questions:
[input] Please enter your projects name (ie. mycoolred5app):
testapp2
[input] Please enter your workspace path (ie. c:\\eclipse\\workspcae): [c:/eclipse/workspace]
C:\Documents and Settings\Administrator\My Documents\Eclipse
[input] Please enter your package namespace (ie. org.red5): [org.red5.app]:
com.testapp2
Now it should say BUILD SUCCESSFUL, which means it has created the project for me.
If you go to your Eclipse workspace folder, you will see it has created a new testapp2 folder with the application in it.
IMPORT THE SECOND PROJECT TO ECLIPSE: Right click on the Project Explorer, choose Import, click on Import again, then select Existing Projects into Workspace under General, click Next > button. Then where it says Select root directory, give it the location of your testapp2 directory: C:\Documents and Settings\Administrator\My Documents\Eclipse\testapp2, click on the Refresh button, then check the box that says Add project to working sets, then select All in the Working sets dropdown. Then click on Finish and it will import the application.
Right click on the testapp2 application, select Properties, click on Java Build Path in the left sidebar, then click on Projects tab, and you should see red5_server in the list that says Required projects on the build path. That is the project where we built the red5 distribution. Then click on OK button.
Source: http://www.red5guide.com/create_red5_application_without_plugin.html
[endtext]
Subscribe to:
Posts (Atom)