[jdev] Regarding XMPP Voice Message Processing

周聪伟 zcw at mypmlive.com
Sun May 10 04:52:12 CDT 2009


Hi All:
    We want to develop the IM application base on XMPP, and the Client application will run on the Mobile OS(such as Symbian, Windows Mobile, J2ME, etc). 
    Now I am facing one problem about the voice message:
    We hope our application can send the voice message(like Voice SMS), from one client to another client through the Server, maybe we can encode the voice data to Base64.
    The server, we're planing to use OpenFire.

    As everybody know, the Mobile GPRS bandwidth is very sensitive, so the scenario will be like this:
    1. Mobile Record the voice as one buffer or file in AMR codec.
    2. Client A, send this data to Client B (maybe put the data into special message stanza), the data should be sent to the server first (as all message will through server transfer to another client)
    3. The XMPP server will not directly send the data to Client B first, but story the data, and notify the Client B, now there is one voice data coming to you(including Client As's JID, time stamp, and maybe voice message ID, etc)
    4. Client B if want to receive the voice message, then send the request to the XMPP server, then the XMPP server will push the voice data to Client B.


    This is our idea, but we didn't know how we can do and use which protocols. is anybody can help us. Thanks very much.


Regards
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20090510/fe40afcd/attachment-0002.htm>


More information about the JDev mailing list