QuickBlox :How to share image/video in peer to peer chat module?

quickblox

Solution

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?

- Just create simple TCP/UDP socket between 2 users and send files, audio/video stream through it

- For 1 you need to know each other ip address & port - there is STUN protocol that allow to know own address(IP & port) - here is my iOS implementation of STUN protocol https://github.com/soulfly/STUN-iOS

- If you already know your address (IP & port) - just send it to your opponent through simple Chat messages - then do 1 item.

Thats all what you need

Problem

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

Original source