-
Most likely the issue is with
with: JID(call.jid)
as you are passing (if I'm correct) a bare JID (ie.user@example.com
) for<iq/>
based Jingle message exchange and that will not work as<iq/>
stanzas are routed to the XMPP clients if they are addressed to the client's full JID (ie.user@example.com/res-1
).In this case, you need to fetch the full JID of the remote client (most likely from
PresenceStore
) and use this value as awith
parameter value.
With the Siskin IM app we have trouble to make a video call to an Android device due to the fact that JingleModule in Android library has no JingleMessageInitiationEvent, so initiating call failed instantly.
We tried to use
iq
instead ofchat message
to initiate call, but the problem persists, the Android receive noiq
event from iOS.Bellow the code we use to initiate the call:
Note that when passing call from Android to iOS there's no problem.