Giter Site home page Giter Site logo

bluewaterdigital / red5-screenshare Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deleolajide/red5-screenshare

0.0 2.0 0.0 3.6 MB

An Open Source Screen Share Java application using Red5 RTMPClientare

Batchfile 1.00% Java 81.96% HTML 4.36% JavaScript 12.68%

red5-screenshare's Introduction

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

red5-screenshare's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.