GithubHelp home page GithubHelp logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
[deleted comment]

from redfire.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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 [email protected] on 9 Jun 2013 at 3:12

from redfire.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
[deleted comment]

from redfire.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 20, 2024
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 [email protected] on 13 Aug 2013 at 11:48

from redfire.

Related Issues (20)

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.