Opensource Chatroulette

Download the free sources

Opensource Chatroulette



How to create a RTMP project in eclipse:

  1. Create a JAVA project with a package and file structure like the screenshot below
  2. Look at the screenshot below to setup your build path
  3. Create a web.xml file in the WEB-INF directory

    web.xml

    	
    	 
    	
    		
    		rtmpclient
    		
    		
    			webAppRootKey
    			/rtmpclient
    		
    		
    	
    	
  4. Create a red5-web.xml file in the WEB-INF directory

    red5-web.xml

    
    
    
    	
    	
    	    
    	
    	
    	
    	
    	
    		
    		
    		
    		
    		
    		
    	
    
    	
    	
    
    
    	
  5. Create a red5-web.properties in the WEB-INF directory

    red5-web.properties

    webapp.contextPath=/rtmpclient
    webapp.virtualHosts=*, localhost, localhost:5080, 127.0.0.1:5080
    	
  6. Create the following java files
    • IdUtil
    • RTMPClientExtended
    • User
    • UserContainer
    The sourcecode can be found on the next pages



<< Go to previous step  |  Go to next step >>