xmppframework

How to create MultiUserChatRoom using XMPPFramework in iPhone

北城余情 提交于 2020-01-23 11:22:12
问题 I am developing Chat Application using XMPPFramwwork in iPhone.I successfully completed one to one chat,now i want to develop multiuser chat in my application. I tried the fallowing code but any delegate methods of XMPPRoomDelegate are not called.how can i start to create chat room.When and how the roomdelegate methods get called....any reply thanks inadvance. XMPPStream *xmppStream = [[XMPPStream alloc] init]; XMPPRoomCoreDataStorage *xmppRoomStorage = [XMPPRoomCoreDataStorage sharedInstance

Gtalk implementation in iOS

自古美人都是妖i 提交于 2020-01-15 07:22:52
问题 Is there any way to implement Gtalk in iOS application,i just want to create an application, in which user can simply login with his/her gmail account and, chat with those people who are in his chat list. if any one know how to do this, then please help me. thanks in advance 回答1: Google Talk uses XMPP (Extensible Messaging and Presence Protocol). You can use for example the XMPPFramework framework to implement it. This framework is listed on a XMPP Foundation website. XMPPFramework provides a

Policy-Violation Error in Xmpp ios?

耗尽温柔 提交于 2020-01-14 06:12:24
问题 HI I'm working with the xmpp framework.every thing working fine till yesterday.But suddenly I'm facing below error then server Disconnected <stream:error xmlns:stream="http://etherx.jabber.org/streams"><policy-violation xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error> Why this error I'm receiving.Please if any body knows help me.Thanks in advance and also I'm getting another error like below SEND: <iq type="error" to="manager.ip-1-148" id="30-22829"><query xmlns="jabber:iq:version

Ejabberd cannot compile mod_multicast module

对着背影说爱祢 提交于 2020-01-06 19:34:33
问题 I am trying to add mod_multicast module to my ejabberd 15.09. Steps: 1. Get the repo from 'svn co https://svn.process-one.net/ejabberd-modules/' 2. Run ./build.sh command in the directory for mod_multicast '../ejabberd-modules/mod_multicast/trunk'. 3. A .beam file should be created in the ebin directory, but no file is created in my case. I am following this tutorial for ref: http://www.gettechgo.com/how-to-install-mod_admin_extra-in-ejabberd/#comment-128 回答1: mod_multicast is integrated in

Ejabberd cannot compile mod_multicast module

我怕爱的太早我们不能终老 提交于 2020-01-06 19:33:58
问题 I am trying to add mod_multicast module to my ejabberd 15.09. Steps: 1. Get the repo from 'svn co https://svn.process-one.net/ejabberd-modules/' 2. Run ./build.sh command in the directory for mod_multicast '../ejabberd-modules/mod_multicast/trunk'. 3. A .beam file should be created in the ebin directory, but no file is created in my case. I am following this tutorial for ref: http://www.gettechgo.com/how-to-install-mod_admin_extra-in-ejabberd/#comment-128 回答1: mod_multicast is integrated in

XMPP and ANDROID

核能气质少年 提交于 2020-01-06 01:26:08
问题 I am trying to make XMPP client for android using http://davanum.wordpress.com/2007/12/31/android-just-use-smack-api-for-xmpp/ I have been facing multiple issues in it First of all my host name and service name are both same i.e. web.vlivetech.com Then i do not know which jar file do i ned to include in my lib folder as i previously have included 1- asmack-android-7 but it was giving me error on some classes that NoClassDefFound then now i have removed it and included smack-3.4.1-0cec571.jar

service-unavailable 503 error for file transfer in XMPP with iOS

余生长醉 提交于 2020-01-05 11:38:12
问题 I am using XMPP with iOS for file transfer. I am using following lines of code to send file. But I am continuously getting single error and stuck on issue. <error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error> I have used following code in app to send file between two devices. XMPPJID *jid = self.chatUserJID; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory =

ejabberd: retrieve chat history from mysql db

非 Y 不嫁゛ 提交于 2019-12-31 22:59:16
问题 I'm building a chat system based on ejabberd using an iOS client (and XMPPFramework). My current chat system supports only one-on-one conversations between users saving a chat history on a MySQL database. In order to recreate the same chat system, i'd need ejabberd to retrieve chat history from my database so the users don't lose previous conversations when switching to the new chat system. I'd like not to save the conversation client-side since the iOS app can be deleted and reinstalled (or

XMPPFramework - How to Create a MultiUserChat Rooms?

我与影子孤独终老i 提交于 2019-12-30 12:52:08
问题 How can I Achieve GroupChat in iPhone using XMPPFramework.I tried fallowing code but room is not created.How can I know whether room is created or not.XMPPRoomDelegate are not called.When Stream disconnected, handleDidLeaveRoom method called.Can any one help me.thanks inadvance #define XMPP_HOSTNAME_2 @"chat.someservername.com" #define XMPP_JID @"venkat@chat.someservername.com" #define XMPP_PASSWORD @"venkat" #define ROOM_JID @"venkat_muc@conference.chat.someservername.com/iMac" - (void

XMPPFramework TLS/SSL connection with Openfire

不羁岁月 提交于 2019-12-30 11:31:33
问题 I'm trying to set up a secure connection TLS/SSL beetween my client apps and an OPENFIRE server. I'm using the XMPPFramework for iOS, how can i do that? I have already tried to change the openfire security settings to made required a secured connection, but in this way, my app won't connect to server. I think that i have to set something in the xmppframework but i can't find any instruction. My connection code : - (void)setupStream { NSAssert(xmppStream == nil, @"Method setupStream invoked