Giter Club home page Giter Club logo

agora-with-qt's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.