prakashinfo / red5-screenshare

Automatically exported from code.google.com/p/red5-screenshare
0 stars 0 forks source link

Xmpp scope not found on #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 kavv.ye...@gmail.com on 1 Dec 2011 at 11:28

GoogleCodeExporter commented 9 years ago
I was getting the following error:
[NioProcessor-1] INFO  o.red5.server.net.rtmp.RTMPHandler - Scope xmpp not 
found on

Fixed it by changing back to original screen viewer.html file. 

var url = getPageParameter('url', 'rtmp:/screenshare');

instead of 

var url = getPageParameter('url', 'rtmp:/screenshare'); ### As noted on the 
documentation on the first page

Original comment by mohakem....@gmail.com on 23 Feb 2014 at 8:06