Skip to content

Latest commit

 

History

History
 
 

Agora-String-Account-Windows

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Agora String Account Windows

其他语言版本: 简体中文

This Windows Sample App shows how to use Agora SDK string id.

With this sample app, you can:

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

This demo is written in C++

Developer Environment Requirements

  • VC++ 2013(or higher)
  • Windows 7(or higher)

Running the sample program

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")

If you don't want to modify the code part, you can create an AppId.ini file under Debug/Release. Modify the appId value to the App ID you just applied.

[AppID]

AppID=xxxxxxxxxxxxxxxxxxx

Next, download the Agora Video SDK from Agora.io SDK. Unzip the downloaded SDK package and copy the files under libs\include, to the project folder Agora-String-Account-Windows\sdk\include (create if not exist). Then copy the dll file and lib file under libs\x86, to sdk\dll and sdk\lib respectively.

Finally, Open OpenLive.sln with your VC++ 2013(or higher) and build all solution and run.

Note:

  1. After the program is compiled, if the program "xxx\xxx\xxx\Debug\Language\English.dll" cannot be started when running the program, please select the OpenLive project in the Solution Explorer and right click. In the pop-up menu bar, select "Set as startup project" to solve. Then run the program again.
  2. You may encounter crash when running this demo under debug mode. Please run this demo under release mode.

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).