Voximplant. Blog

Messaging update

Voximplant Messaging API
A brand-new messaging API was added across Web, Android and iOS SDK. Single Voximplant user id can be used to log in from multiple SDK instances, with API to send online and offline messages across one-on-one or multi-user conversations. Both our client and server-side are highly optimized for minimal resource usage and push notifications support.

Messaging Features

  • One Voximplant user id can be used to login on multiple devices, with unread message count sync across all devices
  • Universal “conversations” that can be used to create one-on-one messaging, channels, public and private chats
  • Messages are saved if user is offline and delivered when they are back online
  • Push notifications support
  • “Moderators” support
  • “Typing” notification support
  • Channels, users and messages can be edited
  • Notifications for all event across all affected users
  • Conversations and messages can be saved to and loaded from app storage
  • Optimized for low cpu, memory and network usage

Coming Soon

  • Other messengers integration via HTTP API and callbacks

Getting started with Web SDK

Use the new Messenger singleton via getMessenger and createConversation/joinConversation API to access the Conversation object with a sendMessage method. Subscribe for different events to get notified when a conversation is created, new message arrives, new user joins a conversation etc.

Getting started with Android SDK

Use the new IMessenger singleton via getMessenger and createConversaton/joinConversation API to access the IConversation object with a sendMessage method. Subscribe for different events to get notified when a conversation is created, new message arrives, new user joins a conversation etc.

Getting started with iOS SDK

Use the new messenger singleton property via VIClient and createConversaton/joinConversation API to access the VIConversation object with a sendMessage method. Subscribe for different events to get notified when a conversation is created, new message arrives, new user joins a conversation etc.

Hot Summer Speech-to-Text Updates


Following Google’s release of new Speech API, we are happy to announce improved quality of call records transcription. No changes are required, your old code like will be producing more accurate results. In addition to that, you can now specify output format to get transcription in form of JSON file with timestamps for further processing. We are working on some examples that will be available in HowTo’s in the nearest future.

Screen Sharing in VoxImplant

Screen Sharing allows you to share information on your screen during a call. You can share the entire screen or one of the active windows.

screen_sharing_article

The best way to understand any functionality is to build a simple demo application. Let’s create a demo app that allows username1 to make a video call to username2 and, during the call, users can share their screen with one another. The demo app has three video blocks: the first one is for your own video stream, the second one is for the incoming video stream and the third one is for viewing locally what is being shared.

To simplify the process, we will use our video chat demo as a boilerplate. You can follow the link and copy whatever piece of code you want. So let’s do it!

Tagged in ,

H.264 video call recording is now available (in mp4 format)

h264 avc mp4We are happy to announce that video calls that use H.264 video codec can now be recorded. Recorded video calls that use H.264 will be stored as mp4 files (calls with video in VP8 format are stored as webm files). There are few ways to enable H.264 in your video calls:
– Use H264first Config param (Web SDK)
– Use H264first flag in CallSettings (Web SDK)
– Mobile SDKs are being updated to let developers enable H264 in video calls

According to the following research from Chris Koehncke using H.264 instead of VP8 can save up to 50% in terms of power consumption https://www.chriskranky.com/webrtc-impacts-on-battery-life/ , in addition to that mp4/avc is widely used and supported by most players in both online and offline worlds.

See the example of video recording below (Firefox->Voximplant, no post-processing)

P.S. Feel free to ping us if you have any problems with video call recording

Voximplant mobile SDK for Unity in now available

Voximplant Unity SDK
We are happy to announce our new mobile SDK for Unity platform. Now Unity developers can use the SDK to embed real-time voice and video communication into VR/AR apps and games in minutes, we will take care of complexity and infrastructure. The SDK is compatible with Google Daydream. Please visit https://unity.voximplant.com/ to learn more.

Tagged in , , , , ,

Authorization using tokens instead of passwords

Storing and saving passwords inside applications is not safe. For better security our SDK provides two additional login methods: with the one-time login keys and with the renewable tokens. Keys omits the need to store passwords entirely by using your own backend that will generate a one-time login key each time your application needs to login the Voximplant cloud. Although very secure, the keys require your own backend to be created, while the “tokens” can be used entirely on the SDK side with some security and usability trade-offs that are explained in this article.

Tagged in

Push Notifications for Android

VoxImplant push notifications for Android are based on FirebaseCloud Messaging (FCM) platform and implemented as the “data messages”. Using notifications, a device can be awakened and an app started before a call arrives. Our SDK requires Android API 16 (4.1), while push notifications support also requires Play Services 10.0.1 or higher to be available on the device. Our Android SDK contains a sample application with all the code needed to handle push notification. Following tutorial explains that code and describes additional steps that should be performed to have a working Push Notifications solution for your mobile applications.

Push notifications are available since Android SDK version 2.1.0

Push Notifications for iOS

VoxImplant push notifications for iOS are based on the Apple VoIP Push Notifications. Using notifications, a device can be awakened up and an app started before a call arrives. Our iOS SDK contains a sample application with all the code needed to handle push notification. Following tutorial explains that code and describes additional steps that should be performed to have a working Push Notifications solution for your mobile applications.

Push notifications are available since Android SDK version 1.1.0

Speech-to-text: ASR

Unlike transcription that is performed after call ends, ASR (automatic speech recognition) works during a call and allows either to recognize a word among given variants or do a “freeform” recognition of an arbitrary speech.

Speech-to-text: transcription

Transcription works just like Audio Recording with only difference that a text file is created alongside an audio file.

Categories

Recent Posts

Aug 17, 2017 11:59
Messaging update
Aug 14, 2017 03:22
Hot Summer Speech-to-Text Updates
Aug 02, 2017 12:47
Screen Sharing in VoxImplant
May 02, 2017 12:08
H.264 video call recording is now available (in mp4 format)
Apr 17, 2017 10:58
Voximplant mobile SDK for Unity in now available
Feb 13, 2017 10:22
Authorization using tokens instead of passwords
Feb 03, 2017 01:45
Push Notifications for Android
Feb 03, 2017 01:45
Push Notifications for iOS
Jan 19, 2017 08:38
Speech-to-text: ASR
Jan 19, 2017 08:38
Speech-to-text: transcription

Archive

Tags