I am using ejabberd-16.04 on my mac and XMPPFramework from robbiehanson.
It works fine for chatting, no problem.
But now I want to add voice calling into my application.
I am using Jingle Protocol for call establishment and it works fine for direct communication (i.e. both caller and callee are in same network).
The problem I am facing is for cross-network and I want to implement Jingle ICE for this, NATed clients.
1 Can any one tell me how can I enable and use STUN/TURN module on ejabberd server and same thing at client side.
1.1 Iam also facing problems with urn:xmpp:extdisco:2 for external service discovery.
2 Is there any library for XMPP which implements Jingle-ICE for iOS?
The community version of ejabberd includes STUN and TURN.
https://docs.ejabberd.im/admin/guide/configuration/#stun-and-turn
You'll need to configure SRV records for both STUN and TURN in order for client discovery of STUN/TURN to work correctly.
http://wiki.xmpp.org/web/SRV_Records#STUN_SRV_records
The only significant limitation is that TURN Authentication does not work with SCRAM password storage.
Related
I am trying send data between iOS device and backend using azure bus service .
But all the things that I found on Microsoft azure portal provide Accounts storage methods to azure or through hub providing push notifications.
I am trying to send a "Brokered message"(used for distributed systems) through a queue client using bus service Queue(FIFO). I also came across this method but found that on .net C# not for iOS even Our team here is able to send the data in .net but no luck with Mobile systems(iOS and Android)
You should be able to use REST API for Azure Service Bus from iOS or Android. There's also a good walk-through tutorial you can try.
Has anyone implemented iOS devices as a consumer of kafka? Is there any client libraries in Obj-C or Swift that could subscribe to Kafka topics?
I don't think consuming Kafka streams directly on a mobile device is the right way to go, unless you are doing some research kind of work. The ideal solution would be to have a REST API (a small web service) that can talk directly to Kafka. You can then poll API endpoints to retrieve messages from Kafka.
For instance, you can write a web service using Python Bottle framework integrated with kafka-python as a solution.
i am developing a ios app in which i need to create instant text chat with a back end .net server.
And in future also use this server through my andropid app.
how can i achieve this goal ?
You can use signalR with your .net backend. SignalR is a library that handles persistent socket connects via websocket, serversent, long polling etc. Research SignalR and you will find plenty of examples and implementations. Your IOS application can import the Obj-c SignalR client. The client understands the protocol used to communicate with the server.
It's pretty basic and easy stuff to implement.
SignalR .Net
http://www.asp.net/signalr
Objective-c Client
https://github.com/DyKnow/SignalR-ObjC
Here's what I have so far.
XMPP Server - Ejabberd or Vine
XMPP Library in Rails - Blather
XMPP Library on Client - Strophe.js
Is this what I need to integrate chat into my rails app?
EDIT: from the creator of Vine.
"It's probably safer to use ejabberd, since its a more full-featured server than vines."
I would have add a comment but unfortunately I don't have enough reputation yet.
If you want to do your chat client side, Strophe is recommended. If you want to store some conversations, you'll do it server-side, but not 'rails server'-side, you should do it 'xmpp server'-side : Ejabberd should store your old messages, romm topics or your contact list. It's his job.
Blather could be usefull to make rails communicate with your xmpp-server. Typical use cases could be making server to server communication, or creating an xmpp bot to interact in your chat : it could be asking questions for a game or managing the room to kick flooders.
You need only a server and a client library. So you go either with Blather or Strophe.
Strophe is a JavaScript library and runs on the web browser, while blather is a rails library and runs on your server.
When you want to create a web chat then I think you should go with Strophe.
I have a desktop client application build under .net 4.0 and WPF.
In this application I need to send /Receive data from a client app on a Windows Mobile, this would be through Wifi.
I have no deep experience on this and would like to here your advise or approach on how to do it.
I already done such scenario throuh a wire network between different client through a WCF service hosted under a Server2008 but would like to do a be directionnal sync app between phone and my client.
Could you post me some ideas or sample approach?
thnaks for help
sergeenter code here
Check out servicestack. http://servicestack.net/. Pretty simple to get up and running on the server and client side. There isn't a WP7 client for it, yet but RestSharp works fine.
Sample of how you might host in a WPF app: