[jdev] Regarding XMPP Voice Message Processing
Michal 'vorner' Vaner
vorner at ucw.cz
Sun May 10 05:32:39 CDT 2009
Hello
On Sun, May 10, 2009 at 05:52:12PM +0800, 周聪伟 wrote:
> 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.
Why store it on the server? Why not negotiate the „do you want to get
the message now?“ with the other client and then use a file transfer to
get it there?
With regards
--
2 keys should be enough for everyone
Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20090510/aa785dd5/attachment-0003.pgp>
More information about the JDev
mailing list