<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Designscripting &#187; RED5</title>
	<atom:link href="http://www.designscripting.com/category/red5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designscripting.com</link>
	<description>Latest in flash, Free slideshow, Flash tutorials, advance flash, actionscript, Adobe Air, flash slideshow, New technology, RIA, Abstract wall paper</description>
	<lastBuildDate>Thu, 17 Jun 2010 09:48:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create First Java Application in Red5 Server</title>
		<link>http://www.designscripting.com/2010/02/create-first-java-application-in-red5-server/</link>
		<comments>http://www.designscripting.com/2010/02/create-first-java-application-in-red5-server/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 08:28:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ActionScript 3.0]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RED5]]></category>

		<guid isPermaLink="false">http://www.designscripting.com/?p=328</guid>
		<description><![CDATA[Last we have seen how to Install/Setup Red5 Server. If you dont have the Red5 Setup in your system click here.
In this tutorial we are going to see how to make new Red5 Project.
Before trying this tutorial, make sure the Red5 Server and its sample runs.
Type http://127.0.0.1:5080/ in address bar of your browser and you will see the page below.

Next we will see how to setup server-side code in Eclipse.
Download and install Eclipse for Java EE.
1. Create new Java Project in Eclipse. delete the src folder
 2. Create WEB-INF folder ...]]></description>
			<content:encoded><![CDATA[<p>Last we have seen <a href="http://www.designscripting.com/2009/03/installing-and-deploying-red5-server-in-tomcat-server/" target="_blank">how to Install/Setup Red5 Serve</a>r. If you dont have the Red5 Setup in your system <a href="http://www.designscripting.com/2009/03/installing-and-deploying-red5-server-in-tomcat-server/" target="_blank">click here</a>.</p>
<p>In this tutorial we are going to see how to make new Red5 Project.</p>
<p>Before trying this tutorial, make sure the Red5 Server and its sample runs.</p>
<p>Type <span style="color: #003366;">http://127.0.0.1:5080/</span> in address bar of your browser and you will see the page below.</p>
<p><a href="http://www.designscripting.com/wp-content/uploads/2010/02/StartPage.png"><img class="aligncenter size-full wp-image-330" title="StartPage" src="http://www.designscripting.com/wp-content/uploads/2010/02/StartPage.png" alt="StartPage" width="400" height="193" /></a></p>
<p><strong><em>Next we will see how to setup server-side code in Eclipse.</em></strong></p>
<p>Download and install Eclipse for Java EE.</p>
<p><strong>1.</strong> Create new Java Project in Eclipse. delete the src folder<br />
<strong> 2.</strong> Create WEB-INF folder under the project with sub-folders src and classes<br />
<strong> 3. </strong>Right click src folder under the project then select- Build path &gt; use as source folder.<br />
<strong> 4.</strong> Again right click WEB-INF/src folder under the project then select- Build path &gt; Configure Output Folder.<br />
<strong> 5.</strong> Right click Project &gt; Properties from the Menu. Select Java Build Path from Left Menu.<br />
<strong> 6</strong>. On Right side tabs click on Libraries &gt; Add External Jars.. Select red5.jar from Red5 root installation folder(example: C:\Program Files\Red5\red5.jar)<br />
<strong> 7.</strong> Right Click on src &gt; new &gt; Class. Type the Package name like org.red5.sample, Class name then click on Finish.<br />
<strong> 8.</strong> Type some Java code and compile the application by Run Menu/ Run Icon.<br />
<strong> 9.</strong> Navigate to Red 5&gt; Doc &gt; Templates &gt; MyApp &gt; WEB-INF copy the four files into your newly created WEB-INF folder under the Project.<br />
<strong> 10.</strong> Refresh your project in eclipse so you can now see the four files.</p>
<p><strong><em>Now we need to deploy the application to Red5 Server.</em></strong></p>
<p><strong>11</strong>. Create Folder and name it like Red5App under Red5 &gt; webapps folder<br />
<strong> 12.</strong> Copy the WEB-INF folder in to Red5App now the folder structure will be like Red5 &gt; webapps &gt; WEB-INF under that will be Classes and src Folders.<br />
<strong> 13.</strong> Edit red5-web.properties using Notepad to.</p>
<p><em><span style="color: #333333;">webapp.contextPath=/Red5App<br />
webapp.virtualHosts=localhost, 127.0.0.1</span></em></p>
<p><em><span style="color: #993300;">Note:</span></em> Red5App is the Folder Name created in Step11.</p>
<p><strong>14.</strong> Edit red5-web.xml look for bean id =&#8221;web.handler&#8221; add the package name and class name we have give in step7 here.</p>
<p><em><span style="color: #333333;">&lt;bean id=&#8221;web.handler&#8221;<br />
class=&#8221;org.red5.sample.ClassName&#8221;<br />
singleton=&#8221;true&#8221; /&gt;</span></em></p>
<p><strong>15.</strong> Edit web.xml look for &lt;param-name&gt;webAppRootKey&lt;/param-name&gt; and change the param-value below that to</p>
<p><em><span style="color: #333333;">&lt;context-param&gt;<br />
&lt;param-name&gt;webAppRootKey&lt;/param-name&gt;<br />
&lt;param-value&gt;/Red5App&lt;/param-value&gt;<br />
&lt;/context-param&gt;</span></em></p>
<p>Thats it we have created a server-side Java application for Red5 Server.</p>
<p><strong>Below is the entire application Folder structure:</strong></p>
<p><a href="http://www.designscripting.com/wp-content/uploads/2010/02/Folder_Structure.jpg"><img class="aligncenter size-full wp-image-329" title="Folder_Structure" src="http://www.designscripting.com/wp-content/uploads/2010/02/Folder_Structure.jpg" alt="Folder_Structure" width="400" height="364" /></a></p>
<p>In next tutorial we will see How to create client side application.</p>
<p><strong> <img src='http://www.designscripting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designscripting.com/2010/02/create-first-java-application-in-red5-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and Deploying Red5 Server in Tomcat Server</title>
		<link>http://www.designscripting.com/2009/03/installing-and-deploying-red5-server-in-tomcat-server/</link>
		<comments>http://www.designscripting.com/2009/03/installing-and-deploying-red5-server-in-tomcat-server/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 14:07:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RED5]]></category>
		<category><![CDATA[red5 and tomcat]]></category>
		<category><![CDATA[Red5 server Installation]]></category>
		<category><![CDATA[War deployment]]></category>

		<guid isPermaLink="false">http://www.designscripting.com/?p=117</guid>
		<description><![CDATA[Last friday i tried to install RED5 0.7 but i was not sucessful with that installation after hours
of effort spend on the installation.
Then and tried install RED5 0.6 and that was working awesome.
I just want to share what are the things i had done to make that configuration sucessful.
Some of the prerequisites are
Check whether you system has jre1.5/JDK 5 with JAVA_HOME and CLASSPATH variables are set
properly.If not download it here
Here is my Setings
CLASSPATH: .;C:\Program Files\Java\java1.5\lib\ext\QTJava.zip;C:\Program Files\Java\java1.5\bin
JAVA_HOME:C:\Program Files\Java\java1.5
After Checking both are set properly.
Follow the steps
1) Download the Red5 v0.6.3 final exe ...]]></description>
			<content:encoded><![CDATA[<p>Last friday i tried to install RED5 0.7 but i was not sucessful with that installation after hours</p>
<p>of effort spend on the installation.</p>
<p>Then and tried install RED5 0.6 and that was working awesome.</p>
<p>I just want to share what are the things i had done to make that configuration sucessful.<br />
Some of the prerequisites are</p>
<p>Check whether you system has jre1.5/JDK 5 with JAVA_HOME and CLASSPATH variables are set</p>
<p>properly.If not download it here</p>
<p>Here is my Setings</p>
<p style="padding-left: 30px;"><em>CLASSPATH: .;C:\Program Files\Java\java1.5\lib\ext\QTJava.zip;C:\Program Files\Java\java1.5\bin</em></p>
<p style="padding-left: 30px;"><em>JAVA_HOME:C:\Program Files\Java\java1.5</em></p>
<p>After Checking both are set properly.</p>
<p><strong>Follow the steps</strong></p>
<p style="padding-left: 30px;">1) Download the Red5 v0.6.3 final exe for windows and for MacOSX or Ubuntu download respected</p>
<p style="padding-left: 30px;">installation file</p>
<p style="padding-left: 30px;"><a href="http://osflash.org/red5/red5downloads">http://osflash.org/red5/red5downloads</a></p>
<p style="padding-left: 30px;">For windows<br />
<a href="http://dl.fancycode.com/red5/0.6.3/win/setup-red5-0.6.3.exe">http://dl.fancycode.com/red5/0.6.3/win/setup-red5-0.6.3.exe</a>
</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">2)Install the Red5. To check whether the installation is proper<br />
<a href="http://127.0.0.1:5080/">http://127.0.0.1:5080/</a><br />
Open the above link, 5080 indicates Red5 runs in port 5080. We can the change the port later if you
</p>
<p style="padding-left: 30px;">have any issues with that port number</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">3)Download and install Tomcat 6.x, in my case i installed Windows Service Installer<br />
<a href="http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.exe">http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.18/bin/apache-tomcat-6.0.18.exe</a>
</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">4)To check installation is working fine, open the URL<br />
<a href="http://localhost:8080/">http://localhost:8080/</a><br />
Here Tomcat is running in port 8080.
</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">5)IF we need to deploy Red5 in Tomcat then download WAR.</p>
<p style="padding-left: 30px;"><a href="http://dl.fancycode.com/red5/war/">http://dl.fancycode.com/red5/war/</a></p>
<p style="padding-left: 30px;">I had downloaded red5-0.6rc3-java6.war change it to red5.war</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">6)In Tomcat 6 we have deploye manager<br />
<a href="http://localhost:8080/manager/">http://localhost:8080/manager/</a>
</p>
<p style="padding-left: 30px;"><img src="http://www.designscripting.com/wp-content/uploads/2009/03/war_deployer.jpg" alt="" width="655" height="115" /></p>
<p style="padding-left: 30px;">Click browse and load red5.war after that Press Deploy</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">7)After Deploying the War, open<br />
<a href="http://localhost:8080/red5/demos/port_tester.swf">http://localhost:8080/red5/demos/port_tester.swf</a>
</p>
<p style="padding-left: 30px;">Check the demo file is working fine.</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;"><strong>Note:</strong></p>
<p style="padding-left: 30px;">rtmp://localhost/oflaDemo</p>
<p style="padding-left: 30px;">When you are using above rtmp protocol in Flash if it points to the Red5 server and not the deployed WAR</p>
<p style="padding-left: 30px;">then we need to change red5.properties file which resides in the below location.<br />
Tomcat 6.0\webapps\red5\WEB-INF\red5.properties</p>
<p style="padding-left: 30px;">if didnt change the downloaded WAR file in step5 then the path would be<br />
Tomcat 6.0\webapps\red5-0.6rc3-java6\WEB-INF\red5.properties</p>
<p>Here is the modified properties file, please check yours</p>
<p><strong>red5.properties</strong>
</p>
<p style="padding-left: 30px;">rtmp.host_port=0.0.0.0:1935<br />
rtmp.threadcount=4<br />
debug_proxy.host_port=0.0.0.0:1936<br />
proxy_forward.host_port=127.0.0.1:1935<br />
rtmps.host_port=127.0.0.1:1945<br />
http.host=0.0.0.0<br />
http.port=8080<br />
rtmpt.host=0.0.0.0<br />
rtmpt.port=8088<br />
webapp.contextPath=/<br />
webapp.virtualHosts=*,localhost, localhost:8080, 127.0.0.1:8080
</p>
<p style="padding-left: 30px;">
<p>Next : <a href="http://www.designscripting.com/2010/02/create-first-java-application-in-red5-server/" target="_blank">Create First Java &#8211; Server side Application</a></p>
<p>Cheers <img src='http://www.designscripting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.designscripting.com/2009/03/installing-and-deploying-red5-server-in-tomcat-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
