Questions tagged [chat]

Generic term for "Instant Messaging System". It can also represent a discussion that occurs in an Instant Messaging System.

In terms of computing, chat refers to methodologies and applications to enable to transmission and receipt of messages between end users, whether text or media (e.g voice, video), as well as the content of any such communication.

5837 questions
28
votes
3 answers

How to avoid echo and noise in javascript for webrtc

I am trying to implement a webrtc-based chat room. And I encountered the following problems in laptop. Without connecting to any other peer, just use getUserMedia(), I can get local video stream. When I unmuted the
Zhenguo Yang
  • 3,800
  • 5
  • 18
  • 22
25
votes
2 answers

Creating a private chat between a key using a node.js and socket.io

How do I emit a message to all users in a private chat sharing a conversation_id using node.js and socket.io? var express = require('express'), app = express(), server = require('http').createServer(app), io =…
Asa Carter
  • 2,207
  • 5
  • 32
  • 62
23
votes
2 answers

Telegram Bots: secret chats possible?

Telegram offers "secret chats". Is it possible that a bot opens a secret chat and sends a message? I could not find any method or parameter for this function.
Martin Weissenboeck
  • 683
  • 3
  • 8
  • 22
23
votes
2 answers

iOS chat APNS, sockets or time interval

I'm making a chat app for iPhone, but im not sure how conversation messages should come instantly. I have read tons of Google results on this topic. Also the once on: -…
Neru-J
  • 1,623
  • 2
  • 23
  • 38
22
votes
3 answers

Android DatagramSocket error message: EADDRINUSE (Address already in use)

I am trying to write a simple android chat app. I have created a service class which handles all the networking communication. The DatagramSocket binding is in a separate thread. Once in while I am getting this error and the app…
Sean Kilb
  • 959
  • 5
  • 16
  • 27
21
votes
3 answers

Google chat server archive (XEP-0136)

I am looking for a way how to retrieve archive of chat messages from google server via using XEP-0136 standard, but I got these results just trying to ask for the feature. Request: Response:
Vanya
  • 4,973
  • 5
  • 32
  • 57
20
votes
3 answers

How to set expiration time for hmset in node redis?

I used to do client.setex(key, 900, value) for storing single key-value. But, I want to store an object with expiration time. I come up with function hmset, but I don't know how to make expiration time. I want to use it to store the context and the…
Terry Djony
  • 1,975
  • 4
  • 23
  • 41
20
votes
13 answers

Class does not define a no-argument constructor. If you are using ProGuard, make sure these constructors are not stripped

I am trying to create a chat app on android studio. my app has no build errors and i can start the app. However, when i use listOfMessage.setAdapter(adapter); my app is crashing. it does start the app though, after i would say 1-2 secs it is…
Cagri Karabulut
  • 313
  • 1
  • 3
  • 14
20
votes
4 answers

Developing a Video Chat Application with high quality video streaming

I am working for a company where we are developing video chat support on an existing application. I have looked at various solutions for this like Using Managed Direct show for video capture and streaming in C# Some code samples in code project…
Sumit Ghosh
  • 3,264
  • 4
  • 40
  • 59
20
votes
3 answers

what's the best open protocol for chat room software?

I'm comparing between IRC, XMPP and a third proprietary server I have. what are the pros and cons of each and suggest others if you know any mentionable ones.
Bassel Alkhateeb
  • 1,584
  • 5
  • 19
  • 35
20
votes
2 answers

RecyclerView scrolling on insert

I am trying to use RecyclerView to create a chat application. I am using a LinearLayoutManager with setReverseLayout(true). When I am scrolled all the way to the bottom (which is the dataset start = newest message) and a new message is inserted…
ehehhh
  • 1,066
  • 3
  • 16
  • 27
19
votes
5 answers

"User is typing" function in chat

I'm trying to add in chat a "user is typing" function; chat written in PHP + MySQL/Ajax. How it should work: -when my chat partner X starts typing I see in my chat box: "X is typing" -when I (named Y) am typing he sees in his chat box: "Y is…
Ingrid
  • 1,011
  • 3
  • 9
  • 13
19
votes
3 answers

What are the possible ways to authenticate user when websocket connection is used?

Example scenario: Web based multi-user chat application through websocket connection. How can I ensure (or guarantee) that each connection in this application belongs to certain authenticated user and "can't be" exploited by false user impersonation…
Burak Dede
  • 3,725
  • 5
  • 40
  • 53
19
votes
2 answers

PHP Socket Server vs node.js: Web Chat

I want to program a HTTP WebChat using long-held HTTP requests (Comet), ajax and websockets (depending on the browser used). Userdatabase is in mysql. Chat is written in PHP except maybe the chat stream itself which could also be written in…
Eliasdx
  • 2,190
  • 2
  • 23
  • 33
19
votes
1 answer

Using Google+ Hangouts API

If someone adds bot@mydomain.com to his Google Hangout contacts and sends it a Google+ Hangout Chat message, I want to set up an automatic reply to his chat from my server. Is there a way to do that?? I think Its possible using the Google+ Hangouts…
prateekkathal
  • 3,482
  • 1
  • 20
  • 40