An Open Source Screen Share Java application using Red5 RTMPClientare
Java JavaScript HTML Batchfile
Switch branches/tags
Nothing to show
Latest commit 81f08d7 Jul 28, 2015 @deleolajide deleolajide Create README.md
Permalink
Failed to load latest commit information.
ch/qos/logback New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
com/flazr New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
log Added new parameter to control framerate Jun 6, 2011
org Implemented max width and height Aug 31, 2011
viewer Added missing ScreenViewer.mxml Jun 1, 2011
webapp/screenshare Modified to work with Red5 1.0RC3 Aug 3, 2012
1downarrow.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
1leftarrow.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
1rightarrow.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
1uparrow.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
README.md Create README.md Jul 27, 2015
background.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
cursor.gif New version with support for mouse pointer and remote control Apr 1, 2011
cursor1.gif New version with support for mouse pointer and remote control Apr 1, 2011
developer.keystore New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
do_compile.cmd New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
do_makejar.cmd New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
logback.xml New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
makekeystore.bat New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
sign_test.bat New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
webstart_play.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010
webstart_stop.png New version using Flazr instead of Red5 RTMPClient Nov 7, 2010

README.md

This application is a Java Webstart application that can be run from a web site without installing any desktop software and will publish your desktop screen as an RTMP video stream to a Red5 server using a standalone RTMP client and the Screen Video Codec.

It also includes a Flex viewer application which can be used to remotely control the desktop. Double click the desktop screen and follow the shadow mouse pointer. You should see two mouse pointers, your real one and the remote one lagging behind.

http://red5-screenshare.googlecode.com/files/Image9.jpg

This application is based on the source code for the open-meetings desktop publisher, but converts the screen frames into a RTMP video stream on the client at source. It uses the Flazr library (http://www.flazr.com/)by Peter Thomas.

http://red5-screenshare.googlecode.com/files/screenshare.jpg

Unzip screenshare..zip and move the screenshare folder to webapps.

Edit screenshare.jnlp {{{

my_red5_server screenshare 1935 screen_share flashsv2

}}}

Replace my_red5_server with the hostname or ip address of your Red5 server.

Leave 1935 unless your RTMP port is something else.

Leave screenshare as the application name unless you are using your own application.

Replace screen_share with your choce of stream name.

Keep the screen codec setting of flashsv2 unless it does not work, then try flashsv1

Example for red5 server on localhost port 5080 {{{

localhost screenshare 1935 screen_share flashsv2

}}}

You can also run it from the command line. For example:

java -classpath screenshare.jar org.redfire.screen.ScreenShare my_red5_server.com oflademo 1935 screen_share flashsv2

See do_run1.cmd and do_run2.cmd for Windows command files

Edit screenviewer.html {{{

	var stream = getPageParameter('stream', 'screen_share');
	var url = getPageParameter('url', 'rtmp:/xmpp');
	var control = getPageParameter('control', 'true');

}}}

control is either true or false and determines if you allow remote desktop control or not.

To access the publisher, use

http://my_red5_server:5080/screenshare/screenshare.jnlp

To access viewer, use

http://my_red5_server:5080/screenshare/screenviewer.html