Currently Being Moderated

When SparkWeb became open-source, I took a look at the source code and found it had more features than the Flex-based XMPP client I was co-developing for the Red5 Plugin. It therefore made sense to migrate the Flash audio and video features we had developed for our client to SparkWeb and make it compatible with the Spark and Openfire Red5 Plugins and package it as part of the Red5 plugin. The downside to this that the modifications to the Red5 version of SparkWeb makes it out of sync with the official SVN and it could possibly become a fork requiring a name change later on.

 

So what does the Red5 SparkWeb offer?

 

  1. A plugin container for SparkWeb. I noticed  that quite a number of users are asking for a plugin to deploy SparkWeb. My advice would be to try the Red5 Plugin.

    Configure  Index.html and point your users at

    http://your_server:nnnn/red5_webapp_name/sparkweb

    Where nnnn is your HTTP-BIND port number (default 7070) and red5_webapp_name is your default red5 web application name (default red5)

  2. Enables use of the Red5 plugin audio and video features with both Spark and SparkWeb. You can't do video messaging and the video roster is replaced with visual presence (see below). You can make audio/video calls and share your desktop with your contacts. Each call record is logged in openfire and can be queried by the administrator with the Openfire SIP plugin.

  3. Makes SIP phone calls between Spark and SparkWeb users. All SparkWeb SIP calls are logged with the Openfire SIP plugin as well.

  4. Provides webcam support. If you have a webcam installed on your PC, it will be automatically detected and will be used instead of your vcard photo. You can disable this in index.html. You can add or replace your vcard photo with a snapshot of your webcam when you edit your profile. You can also publish snapshots from your webcam as visual presence to all your contacts. What this means is that all your contacts will have  a snapshot of your webcam in their rosters. The interval between snapshots is 60 secs by default and can be modified in index.html. See a draft copy of my proposal to extend XMPP with visual presence. Please feel free to post comments at the bottom of the document.

I also made a few cosmetic changes to my taste and added sound effects for incoming calls and instant messaging. I added some code to improve the loss of focus detection by tracking Flash application activation/deactivation messages and mouse movement. If you use Internet explorer and enable pop-ups, you will get a pop-up in the bottom right corner of the screen with a photo, name and first line of the incoming messaging if you are outside of SparkWeb when a new message arrives.

 

I am hoping to add fastpath support and a calendar to SparkWeb next.

17,180 Views Tags: spark, video, flex, openfire, plugin, presence, flash, sparkweb, red5, webcam, sip, audio, visual


Jul 26, 2008 3:12 AM yaya yaya    says:

Good! download it and use it immediately!

http://red5.4ng.net/red5.war

 

Jul 26, 2008 4:43 PM grimsy grimsy    says:

 

Great work Dele, thanks for the updates

Jul 29, 2008 9:26 AM Nick Chaplin Nick Chaplin    says:

Looking good Dele - what I'd really like to do now is make this plugin available for my users to download from within Spark - anyone manage to get that working for ANY plugin?!

Jul 29, 2008 11:23 AM Dele Olajide Dele Olajide    says in response to Nick Chaplin:

Spark checks http://www.igniterealtime.org/updater/plugins.jsp for available new sparkplugs. I don't see the red5 spark plugin appearing on that list until it comes out of beta which is dependent on the red5 project itself coming out of beta. On the other hand, we can simply ask Jadestorm for it to be included

Jul 30, 2008 1:48 AM Nick Chaplin Nick Chaplin    says in response to Dele Olajide:

I've been trying to find that URL for ages - added it to my proxy server bypass list and now it works. Thanks! I couldn't find any info as to whether it was an igniterealtime resource, or supposed to point somewhere on the local Openfire server. In the meantime, I'll roll out the Red5 plugin manually to a select group of users and see how we get on.

 

Thanks for your work on this Dele

Aug 1, 2008 12:06 AM Alex Alex    says in response to Nick Chaplin:

Good job, Dele. I just want to ask. Does anybody know - how to make SparkWeb working with cyrillic?

Sep 6, 2008 10:12 AM klogger klogger    says in response to Nick Chaplin:

Excellent - works very well indeed.

Sep 16, 2008 7:46 AM Nick Chaplin Nick Chaplin    says:

Dele, is the source code for the Red5 enhanced SparkWeb available? Is it simply included in the .WAR file?

Sep 16, 2008 2:22 PM Dele Olajide Dele Olajide    says in response to Nick Chaplin:

Yes, it is the war file.

Oct 17, 2008 12:12 AM mudassir mudassir    says in response to Dele Olajide:

Thanks for your efforts, i test your document every thing works nice and fine

Oct 31, 2008 2:03 AM yusiang yusiang    says:

Thanks for the efforts for giving us this great stuff. Would you add support for video to red5phone?

Nov 19, 2008 9:20 AM jwiederspan jwiederspan    says:

I installed on a debian server (openfire 3.6.1, Java 6, red5 1.0.02). I am using Firefox and Safari on Intel Macs (camera/mic are built-in) but I'm not able to get audio or video. The client works fine in other respects - I can see my contacts, click on one and select "Call" and it brings up a window that shows two volume controls and a blank space where the video should be. No audio or video comes through after that, though. I've spent two hours going through all of the documents and topics and can't find an answer to this one.

Nov 19, 2008 9:48 AM Dele Olajide Dele Olajide    says in response to jwiederspan:

Zip up your logs folder and send it to me me privately and I will take a look and advise

Nov 19, 2008 12:32 PM jwiederspan jwiederspan    says:

I figured it out - wasn't the plugin's fault. Here's what I did:

1) Updated flash plugin to version 10 (might not have been required).

2) Dug into the flash plugin settings (when right-clicked on the client, it is a settings option at the bottom of the menu).

3) Set the video input to USB-type device. That picked up the built-in camera.

4) Set the audio to Built-in Microphone, then made sure in System Preferences that the microphone was the default device, then turned up the input and output ALL the way (had to do that in the Flash settings and the sparkweb client).

 

Now it works! :-)

Nov 25, 2008 3:35 PM Dele Olajide Dele Olajide    says in response to jwiederspan:

Thanks for your tip. I will add i to the red5 readme file

Jan 2, 2009 2:55 PM romeocuk romeocuk    says in response to Dele Olajide:

hello, I'm new here what you've got me like, you can do that even if my server facilities that would be great of you

Jan 27, 2009 2:08 AM Groomete Groomete    says:

Great work! Albeit, I have two questions:

 

  • Does it works for computers behind firewalls?
  • Is there any way I can customize the look & feel? Any possibility to get the source code of the flash movie?

 

Kind regards