Giter VIP home page Giter VIP logo

red5-screenshare's People

Watchers

 avatar

Forkers

gvsurenderreddy

red5-screenshare's Issues

Scope not found on server

What steps will reproduce the problem?
-------------------------------
1. Downloaded the following files into 
"<RED5_TOP_DIR>/dist/webapps/red5-screenshare"...
- screenshare.jar
- screenshare.jnlp
- publisher.swf

2. Modified screenshare.jnlp as follows...
<jnlp spec='1.0+' codebase='http://<MY_IP_ADDRESS>:5080/red5-screenshare' 
href='screenshare.jnlp'> 
...
    <application-desc main-class='org.redfire.screen.ScreenShare'>
        <argument><MY_IP_ADDRESS></argument> 
        <argument>red5-screenshare</argument> 
        <argument>1935</argument> 
        <argument>screen_share</argument>       
    </application-desc> 

3. Launched Red5 server. (Verified it's correct operation using the included 
demo applications e.g. oflaDemo). 

4. Launched screenshare.jnlp and clicked "start Sharing". 

What is the expected output? What do you see instead?
------------------------------------------
I expected my desktop to be streamed to the Red5 server and consequently to the 
Internet. 

Instead, I get the following error in my Red5 output log... 

     ...
     [java] [INFO] [NioProcessor-1] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder - Action connect
     [java] [DEBUG] [NioProcessor-1] org.red5.server.Scope - Has child scope? red5-screenshare in [GlobalScope@1d4d493 Depth = 0, Path = '', Name = 'd
efault']
     [java] [DEBUG] [NioProcessor-1] org.red5.server.Scope - Child scope does not exist
     [java] [INFO] [NioProcessor-1] org.red5.server.net.rtmp.RTMPHandler - Scope red5-screenshare not found on <MY_IP_ADDRESS>
     [java] [WARN] [Red5_Scheduler_Worker-1] org.red5.server.net.rtmp.RTMPConnection - Closing RTMPMinaConnection from <MY_IP_ADDRESS> : 2941 to <MY_IP_ADDRESS>
 (in: 3332 out 3223 ), with id 11 due to long handshake

What version of the product are you using? On what operating system?
------------------------------------------------------
Windows XP Professional SP 3, Java version 1.6.0_24

Please provide any additional information below.
--------------------------------------
I want to be able to view my server's desktop from another computer by pointing 
the client machine's browser to the Red5 server. Do I need to do anything more 
than copy the jnlp and jar to a directory under my Red5 directory? Perhaps I 
need metadata files? Any help would be greatly appreciated as I'm obviously new 
to this. 

Original issue reported on code.google.com by [email protected] on 25 Mar 2011 at 9:33

Unable to use in Linux environment

What steps will reproduce the problem?
1. Copy the complete screen share directory to /usr/local/red5/webapps
2. edit .jnlp file
3. run the jnlp

What is the expected output? What do you see instead?
Unable to share the screen after clicking Start Sharing button.

What version of the product are you using? On what operating system?
1.0+

Please provide any additional information below.
I am using this screenshare in Linux environment, what are the files that I 
should update and what values. If I use in windows it's working properly.
Please provide me the solution.

Original issue reported on code.google.com by [email protected] on 18 May 2013 at 3:15

Screen-width shrinks when accessor URL is hit

What steps will reproduce the problem?
1. Download screenshare.zip
2. Placed the folder under red5/dist/webapps/
3. modified the screenshare.jnlp as 
<jnlp spec='1.0+' codebase='http://localhost:5080/screenshare'

    <application-desc main-class='org.redfire.screen.ScreenShare'>
        <argument>localhost</argument> 
        <argument>screenshare</argument> 
        <argument>1935</argument> 
        <argument>screen_share</argument>   
        <argument>flashsv2</argument>       
    </application-desc> 
4.Modified the screenviewer.html as
              var stream = getPageParameter('stream','screen_share');
          var url = getPageParameter('url', 'rtmp:/screenshare');
          var control = getPageParameter('control', 'true');

I launched the screenshare application using 
http://localhost:5080/screenshare/screenshare.jnlp and clicked "start 
Sharing",the screen is shared as expected and can be viewed in the preview 
window

What is the expected output? What do you see instead?

When I hit tthe accessor URL i.e 
http://localhost:5080/screenshare/screenviewer.html I am able to see the shared 
screen but the screen width starts shrinking and makes it unable to view the 
shared screen i.e the video stream

What version of the product are you using? On what operating system?

I am using windows XP 2002,Java 1.6,screenshare.zip APR 2011,Red5 1.0.0 RC2


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Dec 2011 at 6:57

Attachments:

How to start the red5 server?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 12 Jul 2011 at 6:31

One Red5 Media Server and multiple screen share

What steps will reproduce the problem?
1. Started up red5 media server on IP 0.0.0.1
2. Started screen share client (screenshare.jnlp) on 0.0.0.2
3. Started another screen share client (screenshare.jnlp) on 0.0.0.3
4. Opened up screen viewer on 0.0.0.4 => screenshare from 0.0.0.2 was visible. 

Was monitoring Red5 real time log - Noticed that whenever 'Start Sharing' 
button was pressed line was displayed in the server log saying ...Screen Share 
client Joined App x
(where x is an integer)

What is the expected output? What do you see instead?
- I was wondering if there is any way we can provide app id to 
screenviewer.html - will this app id would be sufficient to tell viewer SWF 
file to go and fetch data for stream for App id specified in the query String.

What version of the product are you using? On what operating system?
Red5 Screen Share. Debian

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 11 Oct 2011 at 12:06

doesn't see any sourcecodes of this project

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 29 Apr 2010 at 4:57

Screenviewer becomes very slow...

What steps will reproduce the problem?
1.Start Sharing the screen.After some time leave the screen idle without any 
mouse movements  
2. Open screen viewer .Notice that the screen doesnot changes and stays in the 
old frame itself.
3. when refreshing the screenviewer it again get speed up and syncs with the 
sharing screen 

What is the expected output? What do you see instead?
screen should automatically refresh and sync with the sharing screen.instead it 
freezes up or become very slow when the sharing screen is idle

What version of the product are you using? On what operating system?
windows xp,windows 7

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 24 Feb 2012 at 10:40

Audio support

What are the easiest way to add sound support? I'm willing to help

Original issue reported on code.google.com by [email protected] on 19 Jan 2013 at 8:53

Recorded files seek problem

Hello,

I'm recording screenshare on red5 0.8.0. However i cannot seek the recorded 
file to the needed possition. For example there are only four keyframes in meta 
file of 1 minute record.

Tried to record it on Wowza and the result was the same -  impossible to seek. 
The same problem is with both older and newer versions of red5-screenshare.

Is it the problem of timestamps calculation in red5-screenshare, isn't it? How 
to fix the seek problem?

Original issue reported on code.google.com by [email protected] on 10 Nov 2010 at 1:41

screenshare dependencies with red5

Hi, 

We are trying to integrate the screenshare with our red5 instance. I was 
wondering if you can provide me with a link of your libs that are necessary for 
compilation, because it is really hard to make them work all together.

A zip of the lib-folder would be like a Christmas gift for me.

Kind regards,

Nikola Yovchev

Original issue reported on code.google.com by [email protected] on 27 Sep 2010 at 8:40

Linking to Jnlp file in Chrome not a great experience

Loading screenshare.jnlp on Chrome causes the file to download.  Then the user 
needs to explicitly save the file, then run it.

Is there a way around this issue?  Also, is it possible to embed 
red5-screenshare as an embedded applet right with a page?

Thaks.


Original issue reported on code.google.com by [email protected] on 23 Aug 2011 at 7:12

Screenshare works, but remote controlling does not

What is the problem?

My screen sharing works, but i, am not able to control the remote PC.

What is the expected output? What do you see instead?

I should be able to control the remote desktop.

What version of the product are you using? On what operating system?

Im using the one uploaded April 2011

Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 14 Jun 2012 at 12:10

Error creating client

What steps will reproduce the problem?
1. Installed Red5 and placed screenshare in webapps after unzipping
2. edited correctly and compiled from cmd prompt
3. the start, stop and exit window pops up but when i click on start service 
this is given "[ERROR] [pool-47-thread-1] org.redfire.screen.ScreenShare - 
error creating clien
t connection: null" 

What version of the product are you using? On what operating system?
windows and browser is chrome


Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 8:30

Log directory on user desktop

What steps will reproduce the problem?
1. Start RED5-Screensahre applet
2. A log directory is created in the user desktop and cannot be removed until 
the javaw.exe process is killed.

What is the expected output? What do you see instead?
The javaw.exe process is killed automatically when exiting the applet.

What version of the product are you using? On what operating system?
r6

Please provide any additional information below.
It would be better to place the log file in a tmp directory

Original issue reported on code.google.com by [email protected] on 24 May 2011 at 9:13

images are missing from source tree

What steps will reproduce the problem?
1. check out code from repository
2. compile
3. run

What is the expected output? What do you see instead?
The application should load up, but instead complains about missing images
from compilation.

What version of the product are you using? On what operating system?
initial commit

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Oct 2009 at 9:05

text Clarity is poor

What steps will reproduce the problem?
1. While sharing desktop text clarity is very poor.
2. Please give me any suggestion to improve the text clarity

What is the expected output? What do you see instead?

While sharing the screen text clarity is very poor comparative with original 
screen.I am enclosing original and shared screens images below. Please find the 
attchments.

What version of the product are you using? On what operating system?

Currently we are using the fallowing version screenshare-red51RC3 on Windows XP 
platform. 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 30 Sep 2013 at 6:48

Attachments:

Compiling Red5-Screenshare Source

What steps will reproduce the problem?
1. Downloaded the source using provided svn checkout link
2. Built the source using the provided .cmd file
3. Built the jar using the provided .cmd file
4. Created the keystore using the provided .cmd file
5. Signed the application as well
6. Copied .jar to red5's webapps/screenshare folder

What is the expected output? What do you see instead?
When browse the starting sharing link (for .jnlp) - it started the Java 
application launcher.
Then verifying the application ......
After that Java launcher disappears and Control panel for sharing (the Java 
applet/application) doesn't appear


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Oct 2011 at 8:33

Screen View pixel scale is difficult in sync with producer's screen whenever it is changing.

What steps will reproduce the problem?
1. The source producer can upload part of his screen in whatever Width and 
Height. But the viewer will not know what the figure is.
2. The HTML page of viewer set the screen to be 100% but of the viewer screen, 
not the original streaming video. 
3. pixels on viewer screen are deformed due to the scaling to the view port 
size. The outcome is poor visual quality. 

What is the expected output? What do you see instead?
The view should be able to check the resolution of streaming video then adjust 
its own view port size. The displaying pixel scale must always be 1:1. Or else, 
the viewer swf play should do smart scaling with filter -- that will be more 
complicate of course.  Maybe, the resolution of the crop area should send to 
server, and let viewer re-adjust the viewing area automatically ( at least 
reflect the figure on viewer's parameters on HTML page)

What version of the product are you using? On what operating system?
screenshare-red51RC3.zip, the viewer have been tested on WinXP, Win8 and Win7.

Please provide any additional information below.
Is there any instruction of the parameters parsing to SWF player. I want to use 
flowplayer or HTML5.

Thank
Herrick

Original issue reported on code.google.com by [email protected] on 3 Sep 2013 at 6:36

Frames per Second captured config

I would love to have a parameter that defines the fps of the screensharing and 
also be able to control how many dropped frames should be dropped to catch up 
to realtime. 

Do you think we could implement it into a new release of this?

Cheers
Thomas

Original issue reported on code.google.com by [email protected] on 17 Jul 2010 at 10:55

Bad version in .class file

What steps will reproduce the problem?
1. Deploy the latest screenshare.jar
2. Attempt to access it with a system configured with java 1.5 (in this case, a 
PowerBook G4 with 10.4.1, but I think its the java version that is the problem).

What is the expected output? What do you see instead?
The screenshare window to show up as usual

What version of the product are you using? On what operating system?
I've tried it with today's (Nov. 12), but previous versions fail as well.

Please provide any additional information below.
Any chance we it can be compiled with target java version 1.5?  Or am I missing 
something?

Original issue reported on code.google.com by [email protected] on 12 Nov 2010 at 9:48

Using flazr as a RTMP-Client-Library

Hi,

we're just trying to integrate the red5-screenshare with our own eclipse-rcp 
Application. The main Problem with this solution seems the massive 
library-dependency of the red5.jar. You propose that one could use the 
commercial smaxe project as the rtmp-client. 

What do you think about flazr? This is an opensource rtmp-client. I've managed 
to send an flv or fv4-file to the red5-streaming server with no effort. Would 
it be possible to use this library instead of red5? The library is much smaller 
(with dependencies 1.5mb compared to 6mb of the red5 solution).

Best regards

Johannes Michler

Original issue reported on code.google.com by [email protected] on 2 Sep 2010 at 11:25

Record screen share

We're are doing a system where we need not only to stream live, but also record 
screenshare. Red5-screenshare is the great project and suits our needs quite 
well, but i see, that parameter 'live' is hardcorded in ScreenShare.java and 
server does not record stream. I extracted jar file, edited ScreenShare as i 
need (changed live to record) and run do_compile and do_makejar scripts. 
However it looks new jar file does not work when i run screenshare.jnpl. 

How to solve that problem? How to make jar which would work and record the 
stream. Maybe it's "newbie's" question, but it makes me headache... I'd 
appreciate any help.

My email's [email protected]

Original issue reported on code.google.com by [email protected] on 1 Oct 2010 at 12:02

Problem with a whole color pallet

What steps will reproduce the problem?
1. Start the screen Share
2. Share dark colors
3. See the result, it will absolutely not display anything, works marvelously 
on light colors and as soon as you get in more colors it completely stop 
updating blocks... my guess is the WriteShort function but 
i can't fix it...

What is the expected output? What do you see instead?
Same image as what is shared...

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 May 2010 at 4:16

confused 1935 or 5080

What steps will reproduce the problem?
1. Screenshare.jar and jnlp
2.
3.

What is the expected output? What do you see instead?
I am running the red5 server ie localhost:5080 and then download your 
screenshare and to run it using do_run2.cmd that says ""C:\Program 
Files\Java\jdk1.6.0_24\bin\java" -classpath screenshare.jar 
org.redfire.screen.ScreenShare localhost screenshare 1935 screen_share flashsv2 
pause" command line that shows the screenshare java console and tried to 
connect "start sharing" but does not work through screenviewer.html
Let me know if you have any ideas 

What version of the product are you using? On what operating system?
red5 and Windows

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Aug 2011 at 6:42

Screenviewer client requires internet access

What steps will reproduce the problem?
1. Remove Internet connection
2. Opem screenviewer.html on client PC
3. After a short period of time, Error #2032 displayed

What is the expected output? What do you see instead?

I expect to see the local RTMP broadcast, instead I get the error. Looking in 
the javascript console I see the following:

GET http://fpdownload.adobe.com/pub/swz/crossdomain.xml 
GET http://fpdownload.adobe.com/crossdomain.xml 
GET http://myserver:5080/screenshare/textLayout_1.1.0.604.swz 404 (Not Found)

What version of the product are you using? On what operating system?

Using the Apr 2011 release in the download area.


Please provide any additional information below.

If I allow access to fpdownload.adobe.com on the client PCs, the plugin 
loads/runs successfully.

Original issue reported on code.google.com by [email protected] on 1 Dec 2011 at 7:01

Text clarity is missing

I am developing some sample desktop sharing application with the help of red5 
screenshare. It is working fine as expected. But only problem i am facing is 
Text clarity is very poor while sharing. Please give me any suggestions to 
improve the text clarity.

  Here i am enclosing screenshots of original image and shared image.Please find the attachments.Thanks in advance.

Original issue reported on code.google.com by [email protected] on 30 Sep 2013 at 6:24

Attachments:

rtmp to rtmpt switching is not working

What steps will reproduce the problem?
1. I have a red5 server configured to run on port 1935 for rtmp and port 80 for 
rtmpt. Server is not behind any firewall or proxy.
2. On the client's computer which is in a different network than the server's 
and also behind an http proxy, I run the jnlp file (configured on port 1935) 

What is the expected output? What do you see instead?

I expected that if rtmp is cut behind the proxy then the screen sharing 
application would switch to rtmpt. But this is not happening so I cannot use 
the screensharing application on this computer.

What version of the product are you using? On what operating system?
I am using latest version of the product on windows.

Original issue reported on code.google.com by [email protected] on 10 Jan 2012 at 8:50

Error [AWT-EventQueue-0]

What steps will reproduce the problem?
1. When a try execute the command line 
2. click "Start Sharing"
3.

What is the expected output? What do you see instead?
C:\Users\atitude.REDE-ATITUDE.000\Desktop>java -classpath screenshare.jar 
org.re
dfire.screen.ScreenShare visit.webmeeting.com.br/wmvisit/wmcorp1 oflademo 
1935 t
este
[DEBUG] [main] org.redfire.screen.ScreenShare - host: 
visit.webmeeting.com.br/wm
visit/wmcorp1, app: oflademo, port: 1935, publish: teste
imgsun.awt.image.ToolkitImage@1c9b9ca
initialized
captureScreenStart
ScreenShare startStream
[DEBUG] [AWT-EventQueue-0] org.red5.server.net.rtmp.BaseRTMPClientHandler -
 conn
ect server: visit.webmeeting.com.br/wmvisit/wmcorp1 port 1935 application 
oflade
mo connectCallback org.redfire.screen.ScreenShare@30d082
[DEBUG] [AWT-EventQueue-0] org.red5.server.net.rtmp.BaseRTMPClientHandler -
 conn
ect server: visit.webmeeting.com.br/wmvisit/wmcorp1 port 1935 
connectionParams {
objectEncoding=0, app=oflademo, flashVer=WIN 9,0,115,0, fpad=false, 
tcUrl=rtmp:/
/visit.webmeeting.com.br/wmvisit/wmcorp1:1935/oflademo, audioCodecs=1639, 
videoF
unction=1, pageUrl=null, path=oflademo, capabilities=15, swfUrl=null, 
videoCodec
s=252} connectCallback org.redfire.screen.ScreenShare@30d082 
conectCallArguments
 null
[ERROR] [AWT-EventQueue-0] org.redfire.screen.ScreenShare - ScreenShare 
startStr
eam exception java.nio.channels.UnresolvedAddressException

What version of the product are you using? On what operating system?
Windows Vista and on the server: Windows 2003 Server / 

Please provide any additional information below.

my email: [email protected]


thnaks

Original issue reported on code.google.com by [email protected] on 27 May 2010 at 4:12

RTMFP

Can we get this applet to support RTMFP?
Currently I am running Flash Media Enterprise and having the applet send RTMP, 
and serverside, converting it to a rtmfp stream (which works).
But there is a few seconds delay due to the serverside converting.

Is it possible to have this applet do RTMFP?

Thank you!

Original issue reported on code.google.com by [email protected] on 13 Jun 2011 at 3:37

JNLP file is referencing a server which errors

What steps will reproduce the problem?
1. Download JNLP file and the JAR file.
2. Edit the JNLP file to point to your server
3. Deploy the two files
4. Load the JNLP from your browser.

What is the expected output? What do you see instead?
I expect it to point to the server I placed in the JNLP file.  However, I
get the following error:

com.sun.deploy.net.FailedDownloadException: Unable to load resource:
http://btg199251:8080/screen/screenshare.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(DownloadEngine.java:1347)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1487)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(DownloadEngine.java:1465)
    at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1568
)
    at
com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(DownloadEngine.java:1496
)
    at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:217)
    at com.sun.deploy.net.DownloadEngine.getResource(DownloadEngine.java:201)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Launcher.java:447)
    at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:232)
    at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:183)
    at com.sun.javaws.Launcher.launch(Launcher.java:104)
    at com.sun.javaws.Main.launchApp(Main.java:405)
    at com.sun.javaws.Main.continueInSecureThread(Main.java:252)
    at com.sun.javaws.Main$1.run(Main.java:111)
    at java.lang.Thread.run(Thread.java:637)


What version of the product are you using? On what operating system?
initial


Original issue reported on code.google.com by [email protected] on 19 Oct 2009 at 9:07

Xmpp scope not found on

What steps will reproduce the problem?
1. Download screenshare.zip
2. Placed the folder under red5/dist/webapps/
3. modified the screenshare.jnlp as 
<jnlp spec='1.0+' codebase='http://localhost:5080/screenshare'>

    <application-desc main-class='org.redfire.screen.ScreenShare'>
        <argument>localhost</argument> 
        <argument>screenshare</argument> 
        <argument>1935</argument> 
        <argument>screen_share</argument>   
        <argument>flashsv2</argument>       
    </application-desc> 

4.Modified the screenviewer.html as
              var stream = getPageParameter('stream','screen_share');
          var url = getPageParameter('url', 'rtmp:/xmpp');
          var control = getPageParameter('control', 'true');

I launched the screenshare application using 
http://localhost:5080/screenshare/screenshare.jnlp and clicked "start Sharing"  
and the Red5 log shows...

[java] [INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - 
Provider connect
     [java] [INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - Stream start
     [java] [INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - Provider connect
     [java] [INFO] [NioProcessor-1] org.red5.server.stream.codec.ScreenVideo - Allocating memory for 1280 compressed blocks.

What is the expected output? What do you see instead?

When I run http://localhost:5080/screenshare/screenviewer.html I see the flash 
bar loading and after that the page is empty and the red5 log shows...

[NioProcessor-1] INFO  o.r.s.n.r.codec.RTMPProtocolDecoder - Action connect
[NioProcessor-1] DEBUG org.red5.server.Scope - Has child scope? xmpp in 
[GlobalScope@442c76 Depth = 0, Path = '', Name = 'default']
 [NioProcessor-1] DEBUG org.red5.server.Scope - Child scope does not exist
[NioProcessor-1] INFO  o.red5.server.net.rtmp.RTMPHandler - Scope xmpp not 
found on 
[Red5_Scheduler_Worker-3] WARN  o.r.server.net.rtmp.RTMPConnection - Closing 
RTMPMinaConnection from 127.0.0.1 : 4367 to  (in: 3479 out 3210 ), with id 2 
due to long handshake


I am guessing its because the path is not specified..you can see the path is 
set to Path=''.

Am I missing any file?? Kindly suggest a solution..I took a look at 
http://code.google.com/p/red5-screenshare/issues/detail?id=13#c4 but had no 
success

What version of the product are you using? On what operating system?

I am using windows XP 2002,Java 1.6,screenshare.zip under tab DOWNLOADS,Red5 
1.0.0 RC2

Please provide any additional information below.

I want to deploy this on cloud and enable co browsing feature.

Original issue reported on code.google.com by [email protected] on 1 Dec 2011 at 11:28

Red5 Exception on Publish

When i start broadcast with red5-screenshare.
I get this errors from red5;

[INFO] [NioProcessor-1] org.red5.server.net.rtmp.RTMPHandler - Connecting to: 
[WebScope@1ab7626 Depth = 1, Path = '/default', Name = 'oflaDemo']
[INFO] [NioProcessor-1] org.red5.server.stream.ClientBroadcastStream - Provider 
connect
[WARN] [NioProcessor-1] org.red5.server.stream.StreamService - Exception on 
publish
java.lang.NullPointerException: null
        at org.red5.server.stream.ClientBroadcastStream.sendPublishStartNotify(ClientBroadcastStream.java:649) [red5.jar:na]
        at org.red5.server.stream.ClientBroadcastStream.sendStartNotifications(ClientBroadcastStream.java:743) [red5.jar:na]
        at org.red5.server.stream.ClientBroadcastStream.startPublishing(ClientBroadcastStream.java:792) [red5.jar:na]
        at org.red5.server.stream.StreamService.publish(StreamService.java:451) [red5.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_19]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_19]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_19]
        at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_19]
        at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:200) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:186) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:395) [red5.jar:na]
        at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:138) [red5.jar:na]
        at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:180) [red5.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:713) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.red5.server.net.filter.TrafficShapingFilter.messageReceived(TrafficShapingFilter.java:204) [red5.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:375) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:229) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:793) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:638) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:598) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:587) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:61) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:969) [mina-core-2.0.0-RC1.jar:na]
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.0-RC1.jar:na]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_19]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_19]
        at java.lang.Thread.run(Thread.java:619) [na:1.6.0_19]

Original issue reported on code.google.com by kaanozdincer on 21 Dec 2010 at 10:56

Screenshare RTMP stream to VLC

I am trying to play the screenshare stream from an ordinary RTMP player like 
VLC.

What will be my full RTMP url for the live stream

rtmp://red5.mysite.com/oflaDemo/screen_share does not work.

Original issue reported on code.google.com by [email protected] on 17 Dec 2013 at 11:12

ScreenClientHandler - channel closed!

I have copied the screenshare folder in the webapps folder of Red5. I have 
edited the screenshare.jnlp in this way:

<?xml version='1.0' encoding='utf-8'?>
<jnlp spec='1.0+' codebase='http://localhost/screenshare'> 
    <information> 
        <title>Red5 ScreenShare</title> 
        <vendor>Dele Olajide</vendor> 
        <homepage>http://code.google.com/p/red5screnshare/</homepage>
        <description>Red5 ScreenShare</description> 
        <description kind='short'>An Open Source Screen Share Java application for Adobe Flash using Red5</description> 
        <offline-allowed/> 
    </information>
    <security>
        <all-permissions/>
    </security> 
    <resources> 
    <j2se version='1.6+'/> 
        <jar href='screenshare.jar'/> 
    </resources> 
    <application-desc main-class='org.redfire.screen.ScreenShare'>
        <argument>localhost</argument> 
        <argument>oflaDemo</argument> 
        <argument>1935</argument> 
        <argument>screen_share</argument>   
        <argument>flashsv2</argument>       
    </application-desc> 
</jnlp>

and the screenviewer.html like this:

<html>
<head>
<title>ScreenViewer</title>
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">

    var screenViewer = null;

    function setupApp()
    {
        screenViewer = document.getElementById("screenViewerID");

    }

    function stopApp()
    {
        if (screenViewer != null)
        {
            screenViewer.windowCloseEvent();
        }
    }

function getParameter(string, parm, delim) {

     if (string.length == 0) {
        return '';
     }

     var sPos = string.indexOf(parm + "=");

     if (sPos == -1) {return '';}

     sPos = sPos + parm.length + 1;
     var ePos = string.indexOf(delim, sPos);

     if (ePos == -1) {
        ePos = string.length;
     }

     return unescape(string.substring(sPos, ePos));
}

function getPageParameter(parameterName, defaultValue) {

    var s = self.location.search;

    if ((s == null) || (s.length < 1)) {
        return defaultValue;
    }

    s = getParameter(s, parameterName, '&');

    if ((s == null) || (s.length < 1)) {
        s = defaultValue;
    }

    return s;
}

    </script>
</head>
<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0" 
onload="setupApp()" onUnload="stopApp()">
<div id="screenViewerDIV"></div>
<script type="text/javascript">

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

        fo = new SWFObject("ScreenViewer.swf?rtmpUrl=" + url + "&recieverStream=" + stream + "&control=" + control, "screenViewerID", "100%", "100%", "9");
        fo.addParam("swLiveConnect", "true");
        fo.addParam("name", "screenViewerID");
        fo.write("screenViewerDIV");
</script>
</body>
</html>

and the command I enter is:

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

Everything looks correct and according to the instructions, but as I press the 
"start Sharing" button, it does not share. The following commands are displayed 
in the console:

imgsun.awt.image.ToolkitImage@574caa3f
initialized
captureScreenStart
ScreenShare startStream
[INFO] [pool-1-thread-1] org.redfire.screen.ScreenClientHandler - channel opened
: [id: 0x3072c57f] OPEN
[INFO] [New I/O client worker #1-1] org.redfire.screen.ScreenClientHandshakeHand
ler - connected, starting handshake
[INFO] [New I/O client worker #1-1] com.flazr.rtmp.RtmpHandshake - using client
version 00000000
[INFO] [New I/O client worker #1-1] org.redfire.screen.ScreenClientHandler - han
dshake complete, sending 'connect'
[INFO] [New I/O client worker #1-1] org.redfire.screen.ScreenClientHandler - sen
ding command (expecting result): [0 COMMAND_AMF0 c3 #0 t0 (0) s0] name: connect,
 transactionId: 1, object: {app=oflademo, flashVer=WIN 9,0,124,2, tcUrl=rtmp://l
ocalhost:1935/oflademo, fpad=false, audioCodecs=1639.0, videoCodecs=252.0, objec
tEncoding=0.0, capabilities=15.0, videoFunction=1.0}, args: null
[WARN] [New I/O client worker #1-1] com.flazr.util.ChannelUtils - exception: {}
java.lang.NullPointerException
        at com.flazr.rtmp.RtmpHeader.<init>(RtmpHeader.java:104) [screenshare.ja
r:na]
        at com.flazr.rtmp.RtmpDecoder.decode(RtmpDecoder.java:59) [screenshare.j
ar:na]
        at com.flazr.rtmp.RtmpDecoder.decode(RtmpDecoder.java:33) [screenshare.j
ar:na]
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(Repl
ayingDecoder.java:454) [screenshare.jar:na]
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived
(ReplayingDecoder.java:427) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:34
5) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:33
2) [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
 [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioW
orker.java:275) [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
[screenshare.jar:na]
        at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.j
ava:46) [screenshare.jar:na]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110) [na:1.8.0-ea]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603) [na:1.8.0-ea]
        at java.lang.Thread.run(Thread.java:722) [na:1.8.0-ea]
[WARN] [New I/O client worker #1-1] com.flazr.util.ChannelUtils - exception: {}
java.lang.RuntimeException: bad value / byte: 117 (hex: 75), java.lang.ArrayInde
xOutOfBoundsException: 117
        at com.flazr.util.ValueToEnum.valueToEnum(ValueToEnum.java:56) [screensh
are.jar:na]
        at com.flazr.rtmp.message.MessageType.valueToEnum(MessageType.java:100)
[screenshare.jar:na]
        at com.flazr.rtmp.RtmpHeader.<init>(RtmpHeader.java:94) [screenshare.jar
:na]
        at com.flazr.rtmp.RtmpDecoder.decode(RtmpDecoder.java:59) [screenshare.j
ar:na]
        at com.flazr.rtmp.RtmpDecoder.decode(RtmpDecoder.java:33) [screenshare.j
ar:na]
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(Repl
ayingDecoder.java:454) [screenshare.jar:na]
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.cleanup(Replayi
ngDecoder.java:525) [screenshare.jar:na]
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.channelDisconne
cted(ReplayingDecoder.java:433) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.fireChannelDisconnected(Channels.jav
a:502) [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.close(NioWorker.java:583
) [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventS
unk(NioClientSocketPipelineSink.java:91) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.close(Channels.java:1065) [screensha
re.jar:na]
        at org.jboss.netty.channel.AbstractChannel.close(AbstractChannel.java:17
8) [screenshare.jar:na]
        at com.flazr.util.ChannelUtils.exceptionCaught(ChannelUtils.java:41) [sc
reenshare.jar:na]
        at org.redfire.screen.ScreenClientHandler.exceptionCaught(ScreenClientHa
ndler.java:327) [screenshare.jar:na]
        at org.jboss.netty.handler.codec.replay.ReplayingDecoder.exceptionCaught
(ReplayingDecoder.java:445) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:61
9) [screenshare.jar:na]
        at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractC
hannelSink.java:52) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:34
5) [screenshare.jar:na]
        at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:33
2) [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
 [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioW
orker.java:275) [screenshare.jar:na]
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
[screenshare.jar:na]
        at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.j
ava:46) [screenshare.jar:na]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1110) [na:1.8.0-ea]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:603) [na:1.8.0-ea]
        at java.lang.Thread.run(Thread.java:722) [na:1.8.0-ea]
[INFO] [New I/O client worker #1-1] org.redfire.screen.ScreenClientHandler - cha
nnel closed: [id: 0x3072c57f, /127.0.0.1:47016 => localhost/127.0.0.1:1935] CLOS
ED

Please help me to solve the issue. It is deeply important to deploy the desktop 
sharing on my localhost and then on our server. 

Thanks in advance!

Original issue reported on code.google.com by [email protected] on 8 Oct 2013 at 8:10

No source file for screenviewer.html found

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by mj%[email protected] on 19 May 2011 at 9:41

Screen area width and height goes less then zero

What steps will reproduce the problem?
1. try to make Screen Area to be captured width or height less then zero, by 
mouse resizing.

What is the expected output? What do you see instead?
It shouldn't be less then zero, but it is.

Please provide any additional information below.

To fix it, you need to make some changes:

VirtualScreenWidthMouseListener.java: 
mouseDragged method should be (added newWidth check):

    public void mouseDragged(MouseEvent e) {
        double newX = e.getX();

        int delta = Long.valueOf(Math.round(this.x-newX)).intValue();
        int newWidth = VirtualScreenBean.vScreenSpinnerWidth-delta;

        //System.out.println(newX+"  "+newWidth);
        if ( ((VirtualScreenBean.vScreenSpinnerX+newWidth)<=VirtualScreenBean.screenWidthMax) && (newWidth >= 0)) {

VirtualScreenHeightMouseListener.java:
mouseDragged method should be (added newHeight check):

    public void mouseDragged(MouseEvent e) {
        double newY = e.getY();

        int delta = Long.valueOf(Math.round(this.y-newY)).intValue();
        int newHeight = VirtualScreenBean.vScreenSpinnerHeight-delta;

        //System.out.println(delta+" "+newHeight);
        if (((VirtualScreenBean.vScreenSpinnerY+newHeight)<=VirtualScreenBean.screenHeightMax) && newHeight >= 0) {

Than, you should recomplie, make jar, sign it and it's done!

Thanks for your project!

Original issue reported on code.google.com by [email protected] on 4 Oct 2011 at 11:26

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.