xmppframework

XEP-0166: Jingle protocol implementation for voice/video chat in iOS

喜欢而已 提交于 2019-12-08 08:55:44
问题 I have already implemented chat with text message using XMPP framework for iOS. But, now I want to implement voice/video chat using XMPP framework in iOS. So, anybody know about how to implement XEP-0166: Jingle Protocol with available XMPP framework in iOS/Objective-C? Thanks in advance. 回答1: http://oriolrius.cat/blog/wp-content/uploads/2009/10/Oreilly.XMPP.The.Definitive.Guide.May.2009.pdf Refer This book regarding XMPPFramework. In this book all things are described regarding all fetchers

Custom XMPP IQ in iOS XMPP Framework

我们两清 提交于 2019-12-08 08:03:39
问题 I want to send custom IQ using xmpp framework in iOS for the following XML: <iq type="get"> <questionrequest xmlns="xyz" group="abc"> </questionrequest> </iq> I used the below code in iOS: XMPPIQ *iq = [[XMPPIQ alloc] initWithType:@"get"]; DDXMLElement *query = [DDXMLElement elementWithName:@"questionrequest" xmlns:@"xyz" group:@"abc"]; [iq addChild:query]; [[[self appDelegate] xmppStream] sendElement:iq]; NSLog(@"iq: %@", [iq prettyXMLString]); It is giving an error when I add group="abc">

IOS Chat application using XMPP Protocol (ejabberd) Room chat issue

↘锁芯ラ 提交于 2019-12-08 07:47:15
问题 I am developing an IOS Chat application using XMPP Protocol(ejabberd). My chat room is created at my server, it return roomID to me. I am facing an issue in room/group chat. When i am sending a single message it is repeating more than once like 3 to 4 times.How to fix this. My code is here XMPPJID *roomJID = [XMPPJID jidWithString:[roomDict objectForKey:KEY_group_id]]; XMPPRoom *xmppRoom = [[XMPPRoom alloc] initWithRoomStorage:xmppRoomCoreDataStorage jid:roomJID dispatchQueue:dispatch_get

iOS using XMPP connects to ejabberd failed

≡放荡痞女 提交于 2019-12-08 07:33:52
问题 I'm using https://github.com/robbiehanson/XMPPFramework to connect to my own ejabberd server, but it always failed after negotiation. here is the log I got: 2014-01-17 07:14:40.780 Chat[48246:70b] error: (null) 2014-01-17 07:14:40.789 Chat[48246:70b] xmppStreamWillConnect 2014-01-17 07:14:46.076 Chat[48246:70b] socketDidConnect 2014-01-17 07:14:46.077 Chat[48246:70b] xmppStreamDidStartNegotiation 2014-01-17 07:14:51.799 Chat[48246:70b] xmppStreamDidDisconnect: Error Domain

Members cannot get member list in a muc room

混江龙づ霸主 提交于 2019-12-08 05:34:01
问题 I'm using IOS XMPPFramework for our chat application and I'm creating the group and adding the selected member with the below code, and receipants succesfully joins the group. And if I query the member list of that group admins succesfully retrieve the group's members but members cannot get the same list and instead they are receiving the below error: <iq xmlns="jabber:client" from="250034370263@conference.chat.meeapps.com.tr" to="16503312600@chat.meeapps.com.tr/15323458207749806891286" id=

iOS XMPPFramework - Room / chat messages history

梦想的初衷 提交于 2019-12-08 05:20:53
问题 I am developing chat application using XMPPFramework How can i receive history of messages after join existing room? Now i join to room like this: XMPPJID *roomJid = [XMPPJID jidWithString:[NSString stringWithFormat:@"%@@conference.%@",systemName,xmppServer]]; xmppRoom = [[XMPPRoom alloc] initWithRoomStorage:[XMPPRoomHybridStorage sharedInstance] jid:roomJid]; [xmppRoom addDelegate:self delegateQueue:dispatch_get_main_queue()]; [xmppRoom activate:xmppStream]; NSXMLElement *history =

How to send location to other user in XMPP ? Swift 3.0

。_饼干妹妹 提交于 2019-12-08 05:19:08
问题 I am developing chat app in that i need to send location other user. (One to One Chat) I have read xep-0080 but in XMPP framework XEP-80 class not avail-be. I have also checked XMPPPubSub Module but not getting how to send user location to other user. Reference links : https://github.com/robbiehanson/XMPPFramework/issues/506 How to pass location using XMPP in ios sdk? https://github.com/buddycloud/buddycloud-iOS-client Server : ejabber It's help full if provide snippet of code and tutorial

Xmppframework could not build module libxml

此生再无相见时 提交于 2019-12-08 02:19:59
问题 On DDXMLNode.h My project import XMPPFramework by cocoapods ,like: pod 'XMPPFramework', '~> 3.6.6' I find some way like: 1. header search paths add "$(SDKROOT)/usr/include/libxml2" 2. Other Linker Flags add "-lxml2" 3. Framework Search Path add "/usr/lib/libxml2.dylib" All not working! 回答1: Instead of changing path of the files you can do what i have done to resolve my error in Xcode 7.2 beta First check if you have file libxml2.tbd framework and libresolve.tbd framework if not then add it to

How can i create a new user account in XMPPFrameWork in ios

安稳与你 提交于 2019-12-08 01:02:01
问题 Hi I have tried some code for new user registration using XMPPFrameWork in IOS. -(IBAction)Registaton:(id)sender { // iPhoneXMPPAppDelegate *appDelegate =(iPhoneXMPPAppDelegate *)[[UIApplication sharedApplication]delegate]; [[[self appDelegate] xmppStream] connectWithTimeout:XMPPStreamTimeoutNone error:nil]; NSString *username = self.username.text; NSString *password = self.password.text; NSString *name =self.name.text; NSString *email=self.email.text; NSMutableArray *elements =

How to retrieve vCard in iOS from XMPP/OpenFire

丶灬走出姿态 提交于 2019-12-07 18:48:29
问题 As the name suggests I am trying to retrieve a vCard for a user using one of the next XMPPFrameworks methods: - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid; - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid useCache:(BOOL)useCache; My current implementation is: dispatch_queue_t queue = dispatch_queue_create("queue", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_async(queue, ^{ XMPPvCardCoreDataStorage* xmppvCardStorage = [XMPPvCardCoreDataStorage sharedInstance];