I am trying to share image/video in chat module. I've referred Sample code for this but couldn't find any help.
Alos I've referred http://quickblox.com/modules/chat/ it says Add live chat functions to your app by plugging in our full featured chat module. Fast, Firewall friendly, Robust & Secure. Does it means I have to purchase full featured chat module ?
Please suggest me the right way.
Thanks
If your requirement is only for 1-1 chat, then please check this link http://quickblox.com/developers/SimpleSample-chat_users-ios#Send_files This will work for 1-1 chat.
But, in case of room I am unable to find any solution as of now. I am trying to figure out. If anybody knows a way, please post here.
UPD:
QuickBlox has released VideoChat and Unlimited API Calls for Developers http://quickblox.com/blog/2013/02/quickblox-updates-videochat-and-unlimited-api-calls-for-developers
So, if you want to play with the code and integrate it with your apps, check the Simple Code Sample for iOS http://quickblox.com/developers/SimpleSample-videochat-ios
Yes, QuickBlox Chat allows to share files, video/audio between 2 users.
Right now iOS SDK doesn't provide methods for send file, live chat. This feature is under Beta testing right now. We are developing easy interface for end users, and we need more time for this. I hope, we will finish it at the end of December.
However, we allow developers develop this feature themself. What you need for this?
Thats all what you need
You have a uploadMethod like this,
and in the QBChatDelegate, you have this method
Here you are getting the uploaded file id, and you are sending this as a message..
In your chatDidReceiveNotification
This method again calls
completedWithResult
method, add this code there...If you want to display the image in your tableView, change your cellForRow like this..
I have tried this and this piece of code works. Cheers.