Skip to content

AgoraIO/Agora-with-QT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agora With Qt Quick

This opensource project shows how to integrate Agora video SDK with Qt Quick(32bit) and implements video broadcasting

The following features are included in this sample project:

  • Join / leave channel
  • Set role as broadcaster or audience
  • Mute / unmute audio
  • Change camera
  • Setup resolution, frame rate and bit rate

Qt Quick

  • UI

This project use Qt Quick as UI and Agora SDK capture,encode,transfer, decode, render video and audio.

Qt Quick reference Qt Quick website

Agora SDK reference [Agora Document](https://docs.agora.io/cn/Interactive Broadcast/product_live?platform=All Platforms)

Developer Environment Requirements

  • Win7 or higher/Mac
  • Qt Creator

Run the sample program

Register your account with Agora.io Registration and create your own test project to get the AppID.Fill in the AppID into source code agorartcengine.cpp

    context.appId = ""; // Specify your APP ID here

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

  • Windows: copy folder sdk to the directory where AgoraVideoCall.pro is located in.
  • Mac:libs/AgoraRtcEngineKit.framework copy to lib folder

Finaly, use Qt Creator to open AgoraVideoCall.pro file, then build and run.

Running Environment

  • Windows/Mac

Contact us

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

License

The MIT License (MIT)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published