powered by Jive Software

Using jingle in smack api


I am using Smack 4.2.3. I am able to authenticate with smack api xmpp please check my code below

byte[] ipAddr = new byte[]{(byte)192, (byte)168, (byte)0, (byte)11};
InetAddress addr = InetAddress.getByAddress(ipAddr);
HostnameVerifier verifier = new HostnameVerifier() {
    public boolean verify(String hostname, SSLSession session) {
        return false;

DomainBareJid serviceName = JidCreate.domainBareFrom("localhost");
XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
AbstractXMPPConnection conn1 = new XMPPTCPConnection(config);

Now my task is to create a video calling For this i am using webrtc but with my current searching i found that we have to do signaling that can be done through jingle

Problem: I am not getting any example or tutotrial how i can use jingle and do signaling please help me i am very new to this signaling part

Sunil Kumar

Did you take a look at this thread? XEP-xxxx: Jingle WebRTC Transport

Edit: Also there is this.