Redfire 0.0.0.3 Release

I am able to telnet to port 1935 on my openfire server.

Thanks for working with me on this.

Brian

In that case, I need to see your Spark’s log files. You will find them in the USER_HOME\Spark\logs folder.

Errors Log:

Apr 1, 2011 4:23:02 PM org.jivesoftware.spark.util.log.Log error

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\bbaker\Spark\red5.properties

Apr 4, 2011 10:56:53 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\bbaker\Spark\red5.properties

Apr 5, 2011 10:07:30 AM org.jivesoftware.spark.util.log.Log error

SEVERE: Red5-Error: Properties-file does not exist= C:\Users\bbaker\Spark\red5.properties

Warning Log:

Apr 1, 2011 4:22:56 PM org.jivesoftware.spark.util.log.Log warning

WARNING: Unable to load vCard for tgregg@openfire

org.xml.sax.SAXParseException: Premature end of file.

at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)

at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)

at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)

at org.jivesoftware.smackx.provider.VCardProvider.createVCardFromXML(VCardProvider .java:96)

at org.jivesoftware.smackx.provider.VCardProvider.parseIQ(VCardProvider.java:81)

at org.jivesoftware.sparkimpl.profile.VCardManager.loadFromFileSystem(VCardManager .java:669)

at org.jivesoftware.sparkimpl.profile.VCardManager.getVCard(VCardManager.java:408)

at org.jivesoftware.sparkimpl.profile.VCardManager.getAvatarURL(VCardManager.java: 580)

at org.jivesoftware.spark.ui.ContactItem.getAvatarURL(ContactItem.java:296)

at org.jivesoftware.spark.ui.ContactItem.updateAvatarInSideIcon(ContactItem.java:4 74)

at org.jivesoftware.spark.ui.ContactItem.setPresence(ContactItem.java:260)

at org.jivesoftware.spark.ui.ContactList.changeOfflineToOnline(ContactList.java:42 1)

at org.jivesoftware.spark.ui.ContactList.updateUserPresence(ContactList.java:286)

at org.jivesoftware.spark.ui.ContactList.access$700(ContactList.java:98)

at org.jivesoftware.spark.ui.ContactList$19$4$1.run(ContactList.java:1679)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Apr 1, 2011 4:23:05 PM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: red5Button http://openfire:7070/redfire/video/video320x240.html?you=bbaker&me=tgregg&key=5f 197cc3

Apr 1, 2011 4:26:37 PM org.jivesoftware.spark.util.log.Log warning

WARNING: host: openfire, app: xmpp, port: 1935, publish: screen_share_5f197cc3

Apr 1, 2011 4:26:38 PM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: screenButton http://openfire:7070/redfire/screen/screenviewer.html?stream=screen_share_5f197c c3

Apr 1, 2011 4:37:47 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 4:38:11 PM org.jivesoftware.spark.util.log.Log warning

WARNING: host: openfire, app: xmpp, port: 1935, publish: screen_share_5f197cc3

Apr 1, 2011 4:38:12 PM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: screenButton http://openfire:7070/redfire/screen/screenviewer.html?stream=screen_share_5f197c c3

Apr 1, 2011 4:40:33 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 4:42:41 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 4:43:09 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 4:46:33 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 4:52:07 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 5:00:47 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved test_conf

Apr 1, 2011 5:01:31 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved test_conf

Apr 1, 2011 5:03:59 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 5:13:19 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 1, 2011 5:13:34 PM org.jivesoftware.spark.util.log.Log warning

WARNING: RedfireExtension invite recieved bbaker

Apr 4, 2011 11:08:57 AM org.jivesoftware.spark.util.log.Log warning

WARNING: host: openfire, app: xmpp, port: 1935, publish: screen_share_b4bb9f03

Apr 4, 2011 11:08:57 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: screenButton http://openfire:7070/redfire/screen/screenviewer.html?stream=screen_share_b4bb9f 03

Apr 5, 2011 10:07:37 AM org.jivesoftware.spark.util.log.Log warning

WARNING: host: openfire, app: xmpp, port: 1935, publish: screen_share_9853ac25

Apr 5, 2011 10:07:37 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: screenButton http://openfire:7070/redfire/screen/screenviewer.html?stream=screen_share_9853ac 25

Apr 5, 2011 10:07:49 AM org.jivesoftware.spark.util.log.Log warning

WARNING: host: openfire, app: xmpp, port: 1935, publish: screen_share_9853ac25

Apr 5, 2011 10:07:49 AM org.jivesoftware.spark.util.log.Log warning

WARNING: Red5ChatRoomDecorator: screenButton http://openfire:7070/redfire/screen/screenviewer.html?stream=screen_share_9853ac 25

Thanks!!!

Brian

Can’t see anything wrong with your log files.

Lets run one more test. Start the screenshare again and get the URL at the remote user and this time use the Red5 tester application publisher.swf to viewer.

That would be http://openfire:7070/redfire/video/publisher.swf

Your RTMP URL will rtmp://openfire/xmpp and the stream name to be played can be found in the log file or from the URL. It is in the form screen_share_xxxxxxx where xxxxxx is the generated key.

This is what I see in the log window:

13:50:54:300 - Using Adobe Windows Flash Player 10,0,42,34

14:03:27:354 - Connecting to rtmp://openfire/xmpp

14:03:27:511 - NetConnection.Connect.Rejected

14:03:27:512 - NetConnection.Connect.Closed

Thank you again for all of your help with this!!!

Brian

Looks like port 1935 is blocked from that PC. To confirm, open a command window on the PC and see if you can telnet to the openfire server on port 1935

telnet openfire 1935

The problem could be your host name “openfire”, so try IP address instead.

No, most of the time there is no need for sharing the whole screen. But it’s hard to figure out wich part of the screen is shared during a session. I have to view at the publisher interface every time I move a window.

But you’re rigtht we got better results after reducing the shared area. We’ll give it a try. Thank you for you’re help!

Here is what I get. I also hit port 80 and 8080 to show the difference

//c>telnet openfire 1935

Trying 10.75.1.64…

Connected to openfire.trinisys.loc.

Escape character is ‘^]’.

Connection closed by foreign host.

//c>telnet openfire 80

Trying 10.75.1.64…

telnet: Unable to connect to remote host: Connection refused

//c>telnet openfire 8080

Trying 10.75.1.64…

Connected to openfire.trinisys.loc.

Escape character is ‘^]’.

get /

Apache Tomcat/6.0.26 - Error report<!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;backg

Hi. It doesn’t look like \USER_HOME\ works exactly right in Windows 7 (or perhaps Spark 2.6 RC1 is storing appdata to a different place since you made this)?

Looking at the Spark logs, it is trying to find the red5.properties file in C:\Users\Daniel\Spark, when in actuality all Spark user data is kept in C:\Users\Daniel\AppData\Romaing\Spark by default.

Creating the folder manually solved the problem for now.

Brian, I was having a similar issue and fixed it so maybe this will help you out.

Client A: initiates screen sharing

Client B: receives screen sharing offer

Make sure to follow the procedure in this order:

  1. Client A: clicks screen sharing icon, sending a link to Client B and opening a java “Dekstop Publisher” screen sharing control window

  2. Client B: receives link, clicks it

  3. Client B: sees webpage load (with blank screen)

  4. Client A: clicks “start Sharing” on the “Desktop Publisher” window

My problem was that I was instinctively doing the above process in the 1,4,2,3 order instead …

Dele, I’ll tell you that this really makes the system much less usable. Almost all of our screens are 1600x1200 or more (we have many dual-screen stations as well, I haven’t even tested that). I currently use VNC or Remote Desktop on all of these stations, and screen updates (though not super fast) are usable and the screens are readable. These are across international Internet connections and VPNs, so we are not talking about huge amounts of bandwidth. I regularly VNC over a VPN connection from the Philippines to Colombia (two countries not know for their quality Internet) across the Pacific ocean at resolutions of 1600x1200 and higher. I don’t know if this Java plugin has limitations with that (updates did seem a little slower, but still usable).

The point is that I found this screen sharing to be unsuable.

  1. While I can control the mouse and move windows and click large buttons, the rendering of text is simply unreadable.

  2. The mouse position was offset from my actual mouse position. Because of this, I could not use the remote screen’s Windows taskbar AT ALL. (to explain: the mouse on the remote end always appeared ABOVE my local mouse position. To use the taskbar I would thus have to position my mouse BELOW the active window area. But the plugin seems to stop sending updates to the remote screen once the local mouse leaves the active window area)

Screen-sharing was certainly an unexpected and exciting feature from Redfire, so I hope this doesn’t come across as complaining or demanding. But if you are taking the time to make this work, and want people to actually use it, you will need to address these two issues.

Most of the time, in my workplace, the user that will be initiating the screen sharing will be the user NEEDING HELP (in other words, possibly computing-challenged). The screen sharing procedure is already somewhat intimidating. Asking them to also dynamically control their screen sharing area is, I think, asking too much. This needs to be more user-friendly.

Hi Daniel, thanks for the feedback. RTMP with ScreenVideo codec is no match for VNC. I still think the use case for this is not Support desk and hapless user desktop control. There are many commercial products that solve that problem. I think a few power users collaborating from remote locations sharing their desktops with each other and working together to achieve a common goal is the use case for this.

Reducing the screen share to the actual area of interest instead of the whole screen improves the performance of both the publisher and viewer.

Hi Dele,

Redfire for OpenFire 3.7.0 is simply amazing. I have 2 questions though;

    1. When a Video Chat is intiated, the user at the other end gets a http link. Can this be coded to appear not like a link but as the notification that appears when a user sends a file or when receiving a call from ‘Place a call’?
  1. Can the plugin be containerized in a java container so that it does not open with your internet browser but as a popup screen?

Thank You

Very good suggestions. They were both used to be in the old Red5 Spark Plugin

Popup screen containing web pages only working with Windows. Not working with Macs and Linux

Notification only works when all participants are Spark users.

If most users are Spark with Windows, then it is worth implementing.

Hi Dele,

Can you please help me recode it as all of the users on my network are Windows based and use Spark?

I will take a look as soon as I get a chance

I want to know what redspark is used to do in redfire package.Can youhelp me?

I cannot find sparkweb in redfire plugin.Can you help me?

I have 2 questions

1- I was using red5 for a project and i want to know the easiest way to reuse my videoconference platform based on the FITC demo of red5. Did you add the FITC demo or your videoconference is a different one?

2- I’m not a spark or xiff user, but i want to use redfire with my ruby/openfire client. My client work perfectly with openfire 3.7 and I only want to add the 2 way audio/video…is it flexible, can you tell me where i can find the documentation.

Thank you

  1. No I did not. I only added the oflaDemo. You can add it yourself. Just look at what I did for oflaDemo and copy the required files. Redfire is really the red5.war build with all the additions for XMPP

  2. No documentation. Just questions and answers here at igniterealtime.org. Just search

If you use Redfire with XIFF, you can open a single NetConnection for both XMPP messages and your audio/video streams. If you use your own XMPP client, then you must open a NetConnection from your Flash client. Otherwise use the supplied 2 way audio/video application directly from a web page.