Open GoogleCodeExporter opened 9 years ago
[deleted comment]
Saw an update to issue 37 so I figured I would update mine since I've found a
work around to the issue. The problem is that the width and height variable
are missing. What you have to do is make a copy of the screencast.jnlp that
gets downloaded to you. Edit the <application-desc> section and add the
arguments. So using my original post as a base, here is what the modified
section would looks like.
<application-desc main-class='org.redfire.screen.ScreenShare'>
<argument>__OMITTED__</argument>
<argument>xmpp</argument>
<argument>1935</argument>
<argument>mydesktop</argument>
<argument>flashsv2</argument>
<argument>30</argument>
<argument>1024</argument>
<argument>768</argument>
</application-desc>
Note the 2 extra lines containing arguments for width (1024) and height (768).
Now you can take this file and upload it to the root of the redfire plugin
directory. In my case, I called it "remotecontrol.jnlp". When I call,
http://<MY SERVER>:7070/redfire/remotecontrol.jnlp this new file gets
downloaded and javaws is able to run the application.
You can still use the desktop viewer link if you haven't made any other
customizations.
Original comment by kcper...@gmail.com
on 9 Jun 2013 at 3:12
[deleted comment]
I have the same problem
Desktop screen when I use publisher / viewer, screencast.jnlp file is
generated, but it generates error opening the file, what I do is.
change the line
spec='1.0+' <jnlp codebase='http://im.xxx.com.co:7070/inspired/video'>
By the following
spec='1.0+' <jnlp codebase='http://im.xxx.com.co:7070/redfire/screen'>
and works by changing this line
as I collaborate to fix this fix
This file screencast.jnlp
<?xml version='1.0' encoding='utf-8'?>
<jnlp spec='1.0+' codebase='http://im.xxx.com.co:7070/inspired/video'>
<information>
<title>Redfire ScreenShare</title>
<vendor>Dele Olajide</vendor>
<homepage>http://code.google.com/p/inspired</homepage>
<description>Inspired ScreenShare Client Application</description>
<description kind='short'>An Java Webstart application that publishes desktop screen as RTMP video stream</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version='1.4+'/>
<jar href='screenshare.jar'/>
</resources>
<application-desc main-class='org.redfire.screen.ScreenShare'>
<argument>im.xxx.com.co</argument>
<argument>xmpp</argument>
<argument>1935</argument>
<argument>mydesktop</argument>
<argument>flashsv2</argument>
<argument>15</argument>
<argument>1024</argument>
<argument>768</argument>
</application-desc>
</jnlp>
This is the file with the corrected line.
<?xml version='1.0' encoding='utf-8'?>
<jnlp spec='1.0+' codebase='http://im.xxx.com.co:7070/redfire/screen'>
<information>
<title>Redfire ScreenShare</title>
<vendor>Dele Olajide</vendor>
<homepage>http://code.google.com/p/inspired</homepage>
<description>Inspired ScreenShare Client Application</description>
<description kind='short'>An Java Webstart application that publishes desktop screen as RTMP video stream</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version='1.4+'/>
<jar href='screenshare.jar'/>
</resources>
<application-desc main-class='org.redfire.screen.ScreenShare'>
<argument>im.xxx.com.co</argument>
<argument>xmpp</argument>
<argument>1935</argument>
<argument>mydesktop</argument>
<argument>flashsv2</argument>
<argument>15</argument>
<argument>1024</argument>
<argument>768</argument>
</application-desc>
</jnlp>
Thank you for your help.
Original comment by mauricio...@gmail.com
on 13 Aug 2013 at 11:48
Original issue reported on code.google.com by
kcper...@gmail.com
on 21 May 2013 at 7:17