Questions tagged [xmpp]

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data.

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data. The protocol is commonly used in instant messaging (IM) applications, but can be used to exchange any kind of data. It can also be leveraged for multi-user chat, collaboration, voice and video, message-oriented middleware, and many other applications.

XMPP works by initiating a bidirectional XML stream between two entities. The stream is used to transport XMPP stanzas, which are small, well-defined blocks of XML.

An overview of XMPP protocol is available at https://xmpp.org/about/technology-overview.html

There are various XMPP servers available to use. For more comprehensive lists of server, client implementations as well as XMPP libraries, visit xmpp.org.

5941 questions
9
votes
1 answer

How to receive the file when connecting success in TURNSocket Of XMPPFramework in ios?

I want to use TURNSocket to transfer the file between the two users. User1: (iphone sumulator) User2: (Spark user) Now the socket has connected, and i want to send a file to User1 from User2 via the Spark. And the iphone sumulator can received these…
Neil.Lv
  • 161
  • 2
  • 8
9
votes
1 answer

X-FACEBOOK-PLATFORM authentication with SMACK Java library using OAuth 2.0

First post here so please be gentle. I'm building a facebook chat client, using Smack library. I'm using X-FACEBOOK-PLATFORM method in order not to save any passwords. I had it working properly using oauth 1.0, and want to change it to 2.0, cause of…
alscu
  • 928
  • 9
  • 22
9
votes
2 answers

Is XMPP peer to peer connection without server possible?

I am using libjingle for my XMPP connection. Can I connect two XMPP clients without having server in between. If yes how can I do that if no then why it is not possible? XMPP client1 <---------Direct Audio/Video/IM----------> XMPP client2
Alam
  • 1,536
  • 15
  • 26
9
votes
1 answer

Webrtc: Could not process WebRTC answer

Im using ejabberd + stanza io to build a realtime messaging and audio calling website. ive managed to make my first audio call from chrome(on PC) -> chrome(on mac) with no errors the problem occurs when i try to make the call from chrome(on mac)…
Med Abida
  • 1,214
  • 11
  • 31
9
votes
1 answer

Android (XMPP) Caching/Synchronising Messages in Chat Application

Problem Description I'm creating android chat application based on XMPP protocol. Smack is used as a XMPP Client library. In application messages are stored in SQLite database. Question How to implement message caching (ex. like it's done in…
user5699130
9
votes
4 answers

How to send message using XMPP Framework

I am creating a chat application using XMPP Framework in iphone. i could get received messages but i am not able to send a message. can any one give me solution for this??
9
votes
1 answer

failed because: de.measite.minidns.hla.ResolutionUnsuccessfulException: Asking for xxxx. IN AAAA yielded an error response NX_DOMAIN

After I upgraded smack to 4.2.0 I am getting connection issue. The following addresses failed: 'xxxx:5222' failed because: de.measite.minidns.hla.ResolutionUnsuccessfulException: Asking for xxxx. IN A yielded an error response NX_DOMAIN,…
Jaspreet Chhabra
  • 1,431
  • 15
  • 23
9
votes
1 answer

Implementation of FCM with XMPP using Smack for Android

I am working with XMPP for implementing chat in my Android application and i have used Smack API for it. My Chat is working fine and i am saving all the chat messages on Android Device locally.Following are some problems that i am currently…
Avnish Choudhary
  • 828
  • 7
  • 15
9
votes
5 answers

What is the best architecture to bridge to XMPP?

If I have a separate system with its own concept of users and presence, what is the most appropriate architecture for creating a bridge to an XMPP server network? As far as I can tell there are three primary ways: Act as a server. This creates…
Josh Segall
  • 4,183
  • 4
  • 31
  • 28
9
votes
1 answer

Get last message of each conversation with XEP-0313?

I'm using an XMPP server that implements XEP-0313 for retrieving conversation history. I would like to fetch only the last message of each conversation, so that I can build a list of your most recent conversations previewing the last message. I've…
Erik B
  • 40,889
  • 25
  • 119
  • 135
9
votes
3 answers

ejabberd - http://localhost:5280 redirects to www.localhost.com:5280

I am learning xmpp programming and I installed ejabberd on my ubuntu 15.10 using sudo apt-get install ejabberd and then I configured the installation by adding an admin user ejabberdctl register admin localhost password. But whenever I try to go to…
Sajib Acharya
  • 1,666
  • 5
  • 29
  • 54
9
votes
1 answer

ejabberd: Error running Post Install Script

I'm trying to install ejabberd on my pc but I keep getting this error: Error running Post Install Script The installation may not have completed correctly
Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
9
votes
0 answers

Openfire contact list sharing

I installed openfire on CentOs and it uses external database for authentification and user list. I managed groups based on a user table and a friend listing so that each user is also a group that is is an administrator and populated with users that…
Kassav'
  • 1,130
  • 9
  • 29
9
votes
2 answers

SMACK XEP-313 Implementation

It is necessary to attach a 0313 XEP (0.2) http://xmpp.org/extensions/attic/xep-0313-0.2.html#sect-idp616432 in to SMACK/ASMACK. I create PacketExtension for this. public class Archive313 implements PacketExtension { static final public…
9
votes
3 answers

Openfire http-bind

How can we connect to Openfire using secured http-bind (port 7443 by default)?
blue123
  • 2,937
  • 7
  • 27
  • 29