Skip to content

Latest commit

 

History

History

OpenVideoCall-Windows

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Open Video Call Windows

English | 中文

The Open Video Call Windows Sample App is an open-source demo that will help you get video chat integrated directly into your Windows applications using the Agora Video SDK.

With this sample app, you can:

  • Join / leave channel
  • Mute / unmute audio
  • Enable / disable video
  • Change camera
  • Send message to channel
  • Setup resolution, frame rate and bit rate
  • Enable encryption
  • Enable / disable black and white filter

This demo is written in C++

A tutorial demo can be found here: Agora-Windows-Tutorial-1to1

Agora Video SDK supports iOS / Android / Windows / macOS etc. You can find demos of these platform here:

Prerequisites

  • VS 2013(or higher)
  • QT5.6(or higher)
  • Windows 7(or higher)

Running the App

First, create a developer account at Agora.io, and obtain an App ID. define the APP_ID with your App ID.

  • #define APP_ID _T("Your App ID")

To ensure communication security, Agora uses tokens (dynamic keys) to authenticate users joining a channel.

Temporary tokens are for demonstration and testing purposes only and remain valid for 24 hours. In a production environment, you need to deploy your own server for generating tokens. See [Generate a Token](https://docs.agora.io/en/Interactive Broadcast/token_server)for details.

Next, download the Agora Video SDK from Agora.io SDK. Unzip the downloaded SDK package and copy the sdk to the project folder(the old one may be over written).

Finally, Open OpenVideoCall.pro with your Qt5.6(or higher) and build current project and run.

  • If you don't fill appid in the code file,you can place a file named AgoraConfigOpenVideoCall.ini in the executable path.The file content:

    [BaseInfo] AppId=xxxx

Note: If you fill appid in the code file, appid in ini file will be omitted.

Contact Us

  • For potential issues, take a look at our FAQ first
  • Dive into Agora SDK Samples to see more tutorials
  • Take a look at Agora Use Case for more complicated real use case
  • Repositories managed by developer communities can be found at Agora Community
  • You can find full API documentation at Document Center
  • If you encounter problems during integration, you can ask question in Stack Overflow
  • You can file bugs about this sample at issue

License

The MIT License (MIT)