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
12
votes
3 answers

How to implement message read status like whatsapp blue tick mark?

I am developing one application in that chatting is one module, for chatting i am using xmpp. when i am sending message i am getting that message delivery status using…
NareshRavva
  • 823
  • 3
  • 21
  • 50
12
votes
1 answer

Best actively maintained Java XMPP Library?

I've seen several XMPP libraries for Java that seem to have little update activity in the past few years. What is the best current XMPP library with support for: - Basic chat - TLS - MUC - PubSub
jsight
  • 27,819
  • 25
  • 107
  • 140
12
votes
2 answers

Using XMPP for push user notifications on Android - any way to target these so they don't go to Google Talk etc

I want to use XMPP to push data to my client which would translate to a notification for the user, and plan on using their google-id for login to my application. The way I understand XMPP is that its a simple message that goes directly to the…
Hortinstein
  • 2,667
  • 1
  • 22
  • 22
12
votes
2 answers

XMPP vs SIP Comparison

i will start a new project. In this project i have a server and many clients (over 100000). Clients and the server continuously will communicate with each other. They use only text messages. I think, It is too hard to manage with tcp socket so I…
Zapateus
  • 516
  • 3
  • 8
  • 21
12
votes
5 answers

NodeJS xmpp server

I make the first steps in the node js and xmpp I need to run at xmpp server on node js for messaging Here's the process: I use node-xmpp server https://github.com/astro/node-xmpp run the example of a server (/examples/c2s.js) join to server with two…
Alex Nechaev
  • 181
  • 1
  • 2
  • 8
12
votes
1 answer

How to authenticate with Chrome sync XMPP servers?

I need to get the currently opened tabs of a Google Chrome user in my Java application (not on the same machine). Chrome sync is enabled so the current tabs are synced with Google servers. According to the documentation of Chrome sync it is done via…
florian h
  • 1,162
  • 1
  • 10
  • 24
12
votes
1 answer

Unit-testing and boost::asio

I'm writing small XMPP server using boost::asio and I want to unit-test my code. Questions: Are there some ready-to-use frameworks for this? As far as I understand, I need to provide mock objects for boost::asio classes/templates and I really want…
hate-engine
  • 2,300
  • 18
  • 26
12
votes
3 answers

Methods for new user registration xmpp framework iOS

I have developed the XMPP Chat client for iOS and now I'm researching for how to do a new user registration from iOS itself. Can anyone help with the methods used to register a new user. As it needs to communicate with the Server and store the…
obaid
  • 892
  • 11
  • 25
11
votes
2 answers

how to do voice/video chat in android using smack api's

We are already using jabber smack api for chating in our application. now we are planing to upgrade my app by adding voice/video chat. I think its possible by using the jingle jabber smack but i am not getting any api's or sample code in jave for…
Nithi
  • 141
  • 1
  • 2
  • 6
11
votes
4 answers

How to send custom XML data using the Smack library?

I'm using the Smack API in Java to connect to my XMPP server. I want to send a customized message packet like this: hi
BinRoot
  • 694
  • 2
  • 8
  • 21
11
votes
3 answers

What is XMPP, and how can I use it within an iOS chat application?

I want to create a chat client application for iPhone. I've read that the XMPP framework is one of the best to use for this. However, I haven't found much material out there on this, only the XMPPFramework on Google Code and details about it on a…
V.V
  • 3,082
  • 7
  • 49
  • 83
11
votes
2 answers

Connecting to Google Talk over XMPP on Node.js

I've tried using a variety of XMPP libraries for Node.js, and am having trouble connecting to Google Talk's XMPP servers. I'm wanting to connect and read the status of friends, but I can't even get out door! I have a personal domain hosted through…
RyanTheDev
  • 601
  • 1
  • 5
  • 11
11
votes
3 answers

Error on smack 4.2.0 : IN AAAA yielded an error response NX_DOMAIN

i start openFire and test it with spark everything is ok but when i try to connect with smack 4.2.0 in android studio i got this error: Ljavax/naming/directory/InitialDirContext; and my dependencies is this: compile…
sadegh
  • 153
  • 2
  • 14
11
votes
1 answer

While fetching Chat History I am Not getting Both user History from Openfire

I fetched History from openfire by installing open fire plugin in the open fire and tried this code. let iq1 = DDXMLElement(name: "iq") iq1.addAttribute(withName: "type", stringValue: "get") iq1.addAttribute(withName: "id", stringValue:…
Mad Burea
  • 531
  • 8
  • 22
11
votes
2 answers

Openfire Meeting iOS Implementation

I have set up openfire on my EC2 ubuntu server with openfire meetings installed. Focus user, test users, group chat and ofmeet are configured using admin console http://myserver:9090/. Multi users video conference is working properly on chrome…
iYousafzai
  • 1,021
  • 1
  • 10
  • 29