经过内网XMMP测试,基本可以确认Beem只是部分实现语音通话功能,如果不 进行大量修改Beem无法打通xmmp语音通话。linux上的Empathy客户端之间可以语音 通话,附通话过程的协议log。 另外,Psi+的协议调试功能不错,以后做xmmp开发可以使用这个软件看XMMP协议, 也可以发自己写的报文。 linux上各种客户端对Xmpp特性的支持情况如下,Empathy支持的最多(包括Jingle 的特性),Psi+ linux和Spark 2.6.3 linux版本不支持Jingle Psi+ <iq from="1006@192.168.1.100/Beem" type="get" id="koK09-104" to="1002@192.168.1.100/Psi+"> <query xmlns="http://jabber.org/protocol/disco#info"/> </iq> <iq type="result" to="1006@192.168.1.100/Beem" id="koK09-104"> <query xmlns="http://jabber.org/protocol/disco#info"> <identity category="client" type="pc" name="Psi+"/> <feature var="http://jabber.org/protocol/bytestreams"/> <feature var="http://jabber.org/protocol/si"/> <feature var="http://jabber.org/protocol/si/profile/file-transfer"/> <feature var="http://jabber.org/protocol/disco#info"/> <feature var="http://jabber.org/protocol/commands"/> <feature var="http://jabber.org/protocol/rosterx"/> <feature var="http://jabber.org/protocol/muc"/> <feature var="jabber:x:data"/> <feature var="jabber:iq:version"/> <feature var="http://jabber.org/protocol/chatstates"/> <feature var="http://jabber.org/protocol/mood+notify"/> <feature var="http://jabber.org/protocol/activity+notify"/> <feature var="http://jabber.org/protocol/tune+notify"/> <feature var="http://jabber.org/protocol/geoloc+notify"/> <feature var="urn:xmpp:avatar:metadata+notify"/> <feature var="http://jabber.org/protocol/xhtml-im"/> <feature var="urn:xmpp:receipts"/> </query> </iq> Beem Android <iq from="1006@192.168.1.100/Beem" type="result" id="ab05a" to="1002@192.168.1.100/Psi+"> <query xmlns="http://jabber.org/protocol/disco#info"> <identity category="client" type="phone" name="Beem"/> <feature var="http://jabber.org/protocol/disco#info"/> <feature var="urn:xmpp:jingle:1"/> <feature var="urn:xmpp:jingle:apps:rtp:1"/> <feature var="urn:xmpp:jingle:apps:rtp:audio"/> <feature var="http://jabber.org/protocol/caps"/> <feature var="urn:xmpp:avatar:metadata"/> <feature var="urn:xmpp:avatar:metadata+notify"/> <feature var="urn:xmpp:avatar:data"/> <feature var="http://jabber.org/protocol/nick"/> <feature var="http://jabber.org/protocol/nick+notify"/> <feature var="http://jabber.org/protocol/chatstates"/> </query> </iq> Empathy 2.34 <iq type="get" to="1008@192.168.1.100/343b919a" id="ab06a"> <query xmlns="http://jabber.org/protocol/disco#info" /> </iq> <iq from="1008@192.168.1.100/343b919a" type="result" to="1002@192.168.1.100/Psi+" id="ab06a"> <query xmlns="http://jabber.org/protocol/disco#info"> <identity category="client" type="pc" name="Telepathy Gabble 0.11.10"/> <feature var="http://www.google.com/xmpp/protocol/session"/> <feature var="urn:xmpp:jingle:transports:raw-udp:1"/> <feature var="http://jabber.org/protocol/jingle"/> <feature var="urn:xmpp:jingle:1"/> <feature var="http://jabber.org/protocol/chatstates"/> <feature var="http://jabber.org/protocol/nick"/> <feature var="http://jabber.org/protocol/nick+notify"/> <feature var="http://jabber.org/protocol/si"/> <feature var="http://jabber.org/protocol/ibb"/> <feature var="http://telepathy.freedesktop.org/xmpp/tubes"/> <feature var="http://jabber.org/protocol/bytestreams"/> <feature var="jabber:iq:version"/> <feature var="http://jabber.org/protocol/si/profile/file-transfer"/> <feature var="http://www.google.com/transport/p2p"/> <feature var="urn:xmpp:jingle:transports:ice-udp:1"/> <feature var="http://google.com/xmpp/protocol/share/v1"/> <feature var="http://www.google.com/xmpp/protocol/voice/v1"/> <feature var="http://www.google.com/xmpp/protocol/video/v1"/> <feature var="http://jabber.org/protocol/jingle/description/audio"/> <feature var="http://jabber.org/protocol/jingle/description/video"/> <feature var="urn:xmpp:jingle:apps:rtp:1"/> <feature var="urn:xmpp:jingle:apps:rtp:audio"/> <feature var="urn:xmpp:jingle:apps:rtp:video"/> <feature var="http://telepathy.freedesktop.org/xmpp/tubes/stream#rfb"/> <feature var="urn:xmpp:jingle:apps:rtp:rtp-hdrext:0"/> <feature var="urn:xmpp:jingle:apps:rtp:rtcp-fb:0"/> </query> </iq> Spark 2.6.3 <iq from="1010@192.168.1.100/Spark 2.6.3" type="result" id="ab0da" to="1002@192.168.1.100/Psi+"> <query xmlns="http://jabber.org/protocol/disco#info"> <identity category="client" type="pc" name="Smack"/> <feature var="http://jabber.org/protocol/xhtml-im"/> <feature var="http://jabber.org/protocol/muc"/> <feature var="http://jabber.org/protocol/bytestreams"/> <feature var="http://jabber.org/protocol/commands"/> <feature var="http://jabber.org/protocol/si/profile/file-transfer"/> <feature var="http://jabber.org/protocol/si"/> <feature var="http://jabber.org/protocol/ibb"/> </query> </iq> (责任编辑:IT) |