For those following the use of Openfire for audio and video communication, The Jitsi project released very recently, the VideoBridge plugin for Openfire. If you use Jitsi with Openfire, you find it very useful for creating both audio and video conferences with multiple people. I am hoping someone will try and make a Spark plugin for it
In the meantime, I did a quick experiment to see if I could convert the Redfire plugin for Spark to use WebRTC instead of RTMP/RTMFP
Guess what!!. It worked
It works the same way as the Redfire plugin for Spark. Click on the webrtc button to share audio and video with the person you are chatting with. On the other side, that person will receive a prompt to accept or reject the offer.
So here it is attached, if you want to play with it. It does not depend on any Openfire plugin, but will use the JingleNodes plugin if available to relay WebRTC audio/video media when a direct connection cannot be made between two Spark clients…
It needs Google Chrome version 26+ running on the client desktop as the default browser. It supports Google Chrome frame for Internet Explorer. The source code is in there as well. When Firexfox WebRTC support becomes stable, I will probably add support for that too.
*** UPDATE ***
I finally got multi-user video conferencing working in group chat like Redfire. Please note that there is no prompt. Each participant MUST click on the webrtc button to join the video conference and the plugin ensures a webrtc peer-connection is made between each and every participant. This should be done after everyone joins the groupchat.
If a new person enters the room and wishes to join the video-conference, each participant should close their browser windows and click on the webrtc button again. webrtc-plugin.jar (1774804 Bytes)
Great. But Chrome requirement is not an option for me. Though we probably won’t need audio/video capabilities in the near future, but i was considering using Jitsi client instead of Spark, because it has such option. If we suddenly need that feature. Would be great to have something on a Spark side, but without browser requirements. I can deal with Openfire plugin though.
I just installed the plugin for spark but i think I’m experiencing a strange behaviour. The IM Openfire server version is 3.8.1 and i’m testing it also with red5 plugin with a correct behaviour. Once i try to establish a webrtc av connection the systems open a chrome window (my default browser) pointing it to http://localhost:4040…and goes immediately in error. Furthermore no connection request is sent to the other client that should receive the call.
I also installed the webrtc plugin for openfire and trying to use the web chat it seems to connect even if it does not let me choos the webcam to use.
I suspect there is a conflict with another plugin. Try to test wlth all Spark plugins removed except the webrtc plugin and then add them back one by one.
I had the problem with Spark locking up when sending or receiving a chat message from a specific user. What what different for this user is I tried to move him to a different group, and every since a chat with him would lock-up.