I am beginner for android application developing.I want to add chat feature in sipdroid using openfire.Can anybody help me how to start to do this?Thanks in advance.
Openfire uses the XMPP protocol, so you may start on reading how to incorporate XMPP in SIP.
Apart from the above article, you can look around for software sip clients that already have this feature and educate from their source code.
Also a good reference is the XMPP java api overview.
Related
I am looking for a way to use SIP as signalling protocol for Webrtc in Android. I saw the RestComm open source code and I think it fits my needs. But I already have the infrastructure setup for TURN and SIP server. We use FreeSwitch for that purpose. My Question is, is it possible to use the restcomm android sdk with a infrastructure that is not from restcomm platform? Will it work?
Is there any other library or way that could be used for the purpose? Infrastructure is fixed and couldn't be changed. I need webrtc with SIP or SIP over websocket as the signalling method.
Restcomm Android SDK essentially offers VoIP functionality using SIP for signaling and WebRTC for media, so you shouldn't have any issues integrating with different server components.
Notice though that so far it's tested with Restcomm platform for the most part.
For more information on how to do that you can check Quickstart Guide and also refer to the code for Hello World and Olympus Apps
I am working on Chat module for Android app. I configured Open fire as XMPP server and currently using smack library in client side development. I am facing some crucial problems regarding chat.
So is there any other open source alternate library of smack?
I search whole day for the solution. But I could not got proper.
I have used Applozic chat SDK. Its worked like a charm for me easy to integrate and customize.
The open source repo link is here. Hope this helps.
I am also still finding the solution.
I think Quickblock would be the alternative.
Reference:
https://community.igniterealtime.org/thread/52092
Till now Smack is the only one java based open source XMPP client Implementation.So you have to use smack to use in android or you can use C++ client library like swiften or gloox as native. But in server side you can use any server developed following XMPP standard.
i am working on one android application with the functionality of p2p video chat just like Skype. while researching on google, i got some libraries but not getting anything for android native.
i decided to go with WebRTC with the use of PubNub api. how can i create a video chat native android client with the use of there libraries?
i found one code for native video chat client,
https://github.com/pchab/AndroidRTC
this demo application require url with IP:PORT so i have one confusion about that how the server will be?
can anyone help me?
as I understand you need some signaling server which allows to detect peers, exchange session descriptions to setup media ports; and helps share everything used for initial handshake. You can find more information here: https://www.webrtc-experiment.com/docs/WebRTC-Signaling-Concepts.html. There a lot of open source implementations e.g. https://janus.conf.meetecho.com/.
Hope this helps.
#Alexey Osminin and #Pubnub are right: you need a signal protocol service (PubNub) and you need a hosted WebRTC solution for the audio/video streams.
Your best bet is to start with this awesome blog, BUILDING AN ANDROID WEBRTC VIDEO CHAT APP, by Kevin Gleason who is the one that did the AndroidRTC and WebRTC research for PubNub as an intern.
PubNub & WebRTC
There is a lot of confusion around what PubNub offers in the WebRTC arena and we have compiled everything you need to know into a single knowledge base article.
First I am completely new to programming world.
I am trying to develop an app which will also have a website. I want to have a chat feature in it . After googling I found xmpp servers such as openfire jabber, etc and smack and like libraries. I understand that the the xmpp server can implement general chat features but do I need to install the xep files to get to use xeps?
What do I need to do on the server side and client side to implement the xeps?
You don't need to do anything to implement core XEPs on the server so no need to worry there (especially as you are only doing chat).
I'd suggest prosody.im as a quick easy server to set up and use rather than openfire.
I'd then look at the asmack library if you are doing android development.
Cheers, Lloyd.
I strongly recommend you this book:
Professional XMPP Programming with Javascript and JQuery - Jack Moffitt
I'm building single chat an application javascript+strophejs just reading this book.
Good luck.
I have an android application (created in eclipse with java) that talks to webservices on a windows 2008 server using .net webservices. I am very interested in using XMPP for the chat portion of the app, but have not a clue how to implement this. Can someone help me with implementing the XMPP piece on the above server, as well as the client piece in the android app. I am basically looking for a step by step walk through (to include what server side software and client side software needed) as I have NEVER used XMPP and really need to finish this app.
Thanks
1) Find a server.
There are several XMPP servers available if you go to the XMPP site and check their handy list.
Personally, I'm using OpenFire and find it super easy to set up and use. Install, run it, and follow the setup wizard. I would not recommend trying to write your own XMPP server functionality into your own code as it gets complicated quickly. You can easily run a chat server side by side with your web services and have the app on the Client end communicate with both. This still serves up a seamless interface to the user.
2) Find a library for XMPP development on Android.
aSmack is pretty much what most Android devs use for this. (Info, plus link to code can be found here.) If you need more step-by-step help on how to develop this for the Android, I'd suggest searching for/posting more specific questions regarding how to use the library.
I hope this helps.