Flash Media Server and XMPP Server Communication, is it possible? - apache-flex

i create a chat application using Adobe FLEX, currently it is not implemented yet, but i have a plan to use Flash Media Server as the chat server. The problem is my application should be able to communicate with other XMPP server such as AIM or Google talk. Is it possible to do that? or is there any better solution?
UPDATE
The point i needed here is the possibility to communicate with the 3rd party XMPP server (Google Talk, AOL/AIM). I have read that Google Talk, AOL/AIM has open the XMPP server to server communication. Is FMS possible to do that?
Regards
Kin

There are a couple of XMPP protocol implementation in ActionScript, so it is possible to integrate with an XMPP server - take a look on XIFF library.
Note: you can also use BlazeDS as a chat server instead of FMS.

Related

Can a http client using XMPP interact directly with jitsi videobrigdge server?

I want to implement a cross platform chat app. I want to use XMPP and I know that XMPP's BOSH extension is used for instant messaging.
However, I also need a video conference and audio conference abilities. jitsi does that actually. It uses prosody for instant messaging which actually uses BOSH. And jitsi uses jitsi-videobridge(which can be found in the same link I attached previously) for audio and video conference capabilities.
Here comes my question. Can an http client using XMPP protocol can talk to a jitsi videobridge server directly without needing any other requirements. I'm confused because in the official website of jitsi, it is written that it is compatible with WEBRTC. I really couldn't grasp the idea of WEBRTC. Does WEBRTC compatible mean that http client can talk to server without any other needs or XMPP protocol is the same basis for both?
Any help or corrections appriciated.

chat application using xmpp developed using worklight

we are trying to develop an application(iOs, Android) using IBM worklight.
There is a requirement that the application has a feature to chat with other members.
can we directly make use of worklight push services to develop this chat app?
while searching I came across XMPP protocal and XMPP server and client concept to achieve this in android and ios apps. can we configure worklight server to make use of XMPP server and developed apps as Xmpp client?
Don't know weather I am hitting the right point in asking this question?
If any one of you have knowledge on usage of these technologies please point me to right resources.
Worklight uses the HTTP protocol for the app to communicate to the Worklight server. To use XMPP, you will have to implement it yourself.
Push notifications are a different story altogether. You can use Worklight to send push notifications to notify users when a chat message is available but this has no relation to the XMPP protocol.
Push notifications maybe be used when the application is not in foreground so that you want to get the attention of the user and tell him that you've got a new message.
If you want to implement chat this is another history and worklight has nothing to do with it. you can integrate with third party chat servers (that implement XMPP). Please see my answer on this question Implementing chat application with Java EE

Audio stream server (from a cross platform server to any device)

This is not a specific coding question but more a research project.
I am very interested in streaming services. To be more specific, I am interested in streaming audio from a server to a device. I do understand the basic logic behind it but I want to get better knowledge in these things.
I would like to try implementing a streaming server and a streaming client (server on mac and client on iOS) but I am having some trouble finding any pages that offer "tutorials" on how its done. I have managed to get the client side somehow and in its example it is playing stream from shoutmedia. How can I implement the server side? I would prefer it in C++ (server in Qt for example would be a bullseye) but any links will be appreciated.
I think that streaming is quite an interesting topic and any links will be appreciated.
Thanks!

desktop sharing using XMPP protocole

Is it possible to use XMPP for a desktop sharing application ? is there any inconvenience ?
Technically, I guess it is possible to send the right information across. XMPP is called extensible because in a way it is. Basically XMPP allows you to send arbitrary XML to a receiver without the server needing to be configured to "accept that data". Only your clients need to be aware of it. It is not technically necessary to make/use an official extension.
What you would do would be to encapsulate VNC or RDP packets into the XML payload of the xmpp messages. Probably encoding it in a CDATA section (most efficient). The main problem that you might have is latency caused by the messaging to be routed via the server.
#dtb empathy/vino can do it on Linux with Telepathy
Yes, there is such application: http://sourceforge.net/projects/remotevnc/
There is no official protocol extension (XEP) for desktop sharing over XMPP,
and I'm not aware of any application offering desktop sharing over XMPP.
Yes it is! XMPP is an easy and extensible protocol, there are plenty of libraries to work with.
Major considerations would be:
Port and firewalls. Are any of the PC's locked down?
Application permission. Do you need to run the client app with elevated privs to access functionality, like remote control and device accesibility?
Multi-user. XMPP has group chat functionality, will that be used?
Robust. You can send offline messages.
If you don't need remote-control functionality, but just an app to share a whiteboard, text editor or such, then it should work fine.
For sharing command-line of the Linux operating system trough xmpp you can use:
pigterm.sf.net
It also supports encryption.

How to do sound recording through a web?

Then save it at server side,is it possible?
Flash applications can do this, if the user allows them to use the microphone.
You need to use some client technology which can communicate with client hardware(mic), like flash/java(java-i am not that much sure).On the server side you need to implement something like media/streaming server which can record/stream/save client streams.
I done this task using flash on client side and red5 on server side.
I would use a Java applet. The advantage is that you don't have to use any special server-side software like Flash Media Server or Red5. You can process the recorded sound using a simple PHP script - the applet can send a WAV file to the script using the HTTP protocol (something that Flash cannot do, as Adobe wants you to purchase their Flash Media Server).

Resources