Quickblox Blog

Alex Bass

Quickblox WebRTC SDK released

Posted by Alex Bass on February 2, 2015

Today, our super talented Andrey Povelichenko finalised Quickblox’s official Javascript WebRTC SDK. You can now add high quality video and audio calling, using the native WebRTC API, to any webapp, using the same familiar Quickblox Javascript SDK.

What this means is that any user with a webcam or microphone (basically everyone) and a modern browser can initiate a video or audio call with a few clicks – no downloads, no plugins, and no flash! And it’s as simple as QB.webrtc.call . If you’re unfamiliar with WebRTC, you should check out the Google I/O presentation – it’s a very cool technology with a lot of potential. If you are familiar however, you’ll know that a bunch of servers and a pile of filler code is required to get something decent working. Well, as a communication as a service provider, Quickblox already has you covered.

Our WebRTC SDK fits right in with the Javascript SDK – so there’s no new syntax to learn. There are a few buzzwords such as “getUserMedia”, and you’re going to become pretty good friends with the HTML5 <video> element – but after that, the learning curve is small.

You can check out the full WebRTC SDK documentation here, and we invite you to create something awesome!

For any support queries, please create a ticket in our helpdesk.

Igor Khomenko

Android SDK 2.1

Posted by Igor Khomenko on January 19, 2015

After almost 3 months, the QuickBlox team is ready to release the next update of Android SDK: 2.1.

This is kind of polishing of the 2.x family which contains a bunch of new features and some stability fixes.

What’s new:

Features:

  • Added QBParticipantListener that will be notified of any new Presence packets sent to the group chat.
  • Added QBMessageListenerImpl – an implementation of QBMessageListener.
  • API to remove multiple chat messages in a single query
  • API to create a chat message via REST
  • New filters in QBRequestGetBuilder: outputInclude, outputExclude, near
  • Added a method getRecipientId to QBDialog class.
  • Added a method getSession to QBAuth to get an info about current session.
  • New filters in QBRequestUpdateBuilder: addToSet, updateArrayValue.
  • Added put<type> methods to QBCustomObject class.
  • Added a method setId to QBChatMessage to set the custom Id.
  • Upload/Download files progress callbacks for Content and CustomObjects modules.
  • API to create the geodata with the location-push
  • Updated core of the XMPP library
  • Removed classes QBMessage and QBChatHistoryMessage. Now QBChatMessage must be used anywhere.

Fixes:

  • Doesn’t add extraParams to the chat message if there are no any extra parameters or attachments added to chat message.
  • deleteDialog method in the QBGroupChatManager and QBPrivateChatManager classes are marked as none static.
  • Issue with chat logout where it wasn’t possible to login with another user without doing QBChatService.getInstance().destroy();

Feel free to download the Android SDK 2.1 here.

Don’t be shy and go build something awesome with QuickBlox Android SDK!

Igor Khomenko

QuickBlox releases Android SDK 2.0 with updated Chat API, generics and synchronous requests

Posted by Igor Khomenko on November 11, 2014

QuickBlox releases Android SDK 2.0 with updated Chat API, generics and synchronous requests!
We completely reviewed Chat module and made it easier to use and also add a huge amount of new features.

It’s the biggest Android release ever we did.

What’s new:

  • Updated Chat API with ‘user is typing’, ‘message read’, ‘message delivered’ statuses tracking, message carbons and more :)
  • New generic callbacks, Result entity is deprecated
  • Synchronous requests

We prepared the transition guide from 1.2 to 2.0, so feel free to use it and migrate to the new API

Also we updated all code samples , so you can easily start working with new features

QuickBlox to power your apps! Cheers!

Alex Bass

Be part of a big developer economics survey!

Posted by Alex Bass on November 10, 2014

Our friends over at VisionMobile have just launched their latest Developer Economics survey and they’re tracking developer trends across platforms, app revenues and dev tools – as well as investigating the emerging IoT market. The key findings from the survey will become available in the form of a free research report in February next year. Aside from contributing to the research, respondents to the survey will also get a chance to win some great prizes, including an iPhone 6, an Oculus Rift DevKit, and a Samsung Gear Smartwatch. You can take the survey here: http://vmob.me/DE1Q15QuickBlox

What are the latest trends in app development you’re seeing? Which platform is the best for monetising your apps? Which is the right revenue model for your apps? Do you think IoT is here to stay or just a fad? Take the survey and contribute to this research :)

Taras Filatov

Kafka, XMPP Chat, SSL and clustering married together

Posted by Taras Filatov on November 4, 2014

QuickBlox has recently added the support for Kafka (pub-sub queue / messaging system).

We have made our Chat server write to Kafka so that it is easier for our enterprise users to apply analytics, trust & safety and external systems and tools to chat server generated data.

We have also enabled SSL encrypted connection via AWS load balancer so that you can connect Kafka consumers via a secure HTTPS connection.

This solution has been adjusted and tested to work in a scalable environment so that X Kafka brokers can work with Y Chat servers controlled by Z Kafka ZooKeepers. You may also connect multiple consumers if required. This is very useful for backup, analytics and real-time reaction / integration systems.

The configuration depends on architecture and scalability factors but here is an example diagram (clickable) showing the principal scheme.

Apache Kafka queue added to XMPP Chat server via SSL and clustered