// setup service discovery and entity capabilities.
// this ensures that other software, such as Jitsi, knows that we support
// ice and so on
//ServiceDiscoveryManager.setIdentityName("Java Bells");
ServiceDiscoveryManager disco = ServiceDiscoveryManager.getInstanceFor(connection);
EntityCapsManager ecm = EntityCapsManager.getInstanceFor(connection);
ecm.enableEntityCaps();
disco.addFeature("http://jabber.org/protocol/disco#info");
disco.addFeature("urn:xmpp:jingle:1");
disco.addFeature("urn:xmpp:jingle:transports:ice-udp:1");
disco.addFeature("urn:xmpp:jingle:apps:rtp:1");