Qt mobile video call

Im brand new to Qt mobile, I donโ€™t even have a reliable mobile developer, so sorry if I ask for something obvious.

I need to develop a mobile application that should be able to receive calls as functionality (via the Internet, not a GSM call). Answering a question, he should start streaming audio and video from our server. A call should be in only one way, that is, this flow goes from server to device, but never from device to server.

So my questions are:

  • Is this possible in Qt? I chose Qt because I am familiar with it and I want to support desktop, Android and ios. maybe Windows Phone later.
  • Can I get a call when the screen is off and my application is not working? I mean, this is a mobile device, the application will not work all the time, it should only be launched when calling from the server to the device. How can i achieve this? I think Viber, Skype and other messaging apps do this.

Thank you very much in advance:)

+8
android ios qt qt5 qt-mobility
source share
4 answers

1 - Well, of course, it is possible, although it may not be as simple and simple as you would like. Qt Multimedia provides the necessary classes, but you need to check how they are supported on the platforms for which you need to configure.

However, the Qt classes provide either a level too high to serve any purpose, but their purpose or a level too low, so you must implement almost everything manually. In this aspect, the advantage of Qt, capable of creating portable applications, may not outweigh the ease of use of certain libraries of a particular platform that offer streaming video out of the box. In other words, it might be easier to write separate apps for Android and iOS using the Android and iOS libraries than a single Qt application that will work on both.

But just in case, when you decide to go with Qt, as I said, you are left with one option - do most of the work yourself. This means that you must record audio using QAudioRecorder and periodically take frames from QCamera in a buffer of a given length, compress this data (and preferably encrypt it if there is a security problem), send it to the client via a QTcpSocket connection, unpack (and decrypt) the data and play them in sync. This is certainly feasible, but, as already mentioned, it will be much more difficult, since the Android and iOS libraries offer almost "ready-made solutions". In addition, you may decide to use a third-party solution that supports all target platforms.

2 - your screen is on or off - this will be a call to the API on the platform, so please turn it on or save it for a specified duration. Regardless of whether your application works on the device or not, it's simple - just try the TCP connection with the client on the device, if it is successful, then the client will work. If you want to receive calls while your application is not running, you will have to implement a specific service platform that runs all the time and runs your application when you receive a call.

+4
source share

QT Mobility does not have an infrastructure for VoIP support, as you can see from the link: http://doc-snapshot.qt-project.org/qt-mobility/

You can create the VoIP infrastructure of your application (which will require a good understanding of the various available audio and video frameworks), but another way to go would be to use the VoIP SDK, which supports both iOS and Android, such as the Twilio mobile client https: // www .twilio.com / client / mobile

+4
source share

Qt mobile will help you in your application user interface, however you will have to write your own code for each platform that you intend to use. Note that Qt is expanding rapidly; you may need to keep your hands clean with native platform-based code in future versions of Qt.

Yes, you can get a VoIP call when your application is closed by creating a background service (but, as I know, Qt does not do this work for you, you need to do it initially), this is how Skype and Viber work.

+3
source share

How do I know the new Blackberry10 OS using qt for development. There is one source code for VoiP Calling in qt. I'm still looking for a video call.

Check the link below may be useful

1) Blackberry Developer Blog

(2) PjSip Blog

(3) Download the source code

I do not know how to develop an application in Android , ios , desktop using the qt language.

But I suggest developing an application in all native languages โ€‹โ€‹instead of qt.

+1
source share

All Articles