Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.49 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.49 KB

DemoQtVideoSDK

C++(Qt) code examples that use TrueConf VideoSDK API and TrueConf Room API

How to use

Download and install TrueConf VideoSDK or TrueConf Room

  1. Download TrueConf VideoSDK or TrueConf Room
  2. Install with default settigs (Port = 80)
  3. Launch application c -pin parameter in the command line.

Windows:

"C:\Program Files\TrueConf\VideoSDK\VideoSDK.exe" -pin "pin123"

Linux:

$ trueconf-video-sdk -pin "pin123"

Login

  1. Get your free accounts in https://t.me/TrueConfSDKPromoBot
  2. Click at the link on the application main screen and open the web-manager
  3. Connect to the server and login in

Now the application is ready to use

just_call

This is the simplest console application that calls the user by TrueConf ID

#include <QCoreApplication>
#include "../videosdk/videosdk.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    VideoSDK sdk;

    sdk.open_session("127.0.0.1", "123");  // open a new sesion with Room or VideoSDK
    sdk.call("[email protected]"); // call

    return a.exec();
}

SignalsAndState

screenshot of the DemoQtVideoSDK main screen

EmergencyCall

Just an animated calling button on the bottom right corner of the screen

emergency_call