Voice Call
  • iOS
  • Android
  • Web
  • Flutter
  • React Native
  • Electron
  • Unity3D
  • Cocos Creator
  • Windows : C++
  • macOS
  • Linux
  • Overview
  • Develop your app
    • Integrate the SDK
    • Implement a basic voice call
    • Enhance basic feature
      • Use Tokens for authentication
      • Set up common audio config
  • Upgrade using advanced features
    • Advanced features
      • Configure the audio
        • Beautify & Change the voice
      • Improve audio quality
        • Test network and devices in advance
        • Monitor streaming quality
        • Visualize the sound level
      • Message signaling
        • Broadcast real-time messages to a room
        • Convey extra information using SEI
        • Quotas and limits
      • Play media files
        • Play media files
        • Play sound effects
      • Mix the streams
      • Record media data
      • Encrypt the streams
    • Distincitve features
      • Join multiple rooms
      • Customize the audio
      • Play streams via URL
      • Low-latency live streaming
  • Resources & Reference
    • SDK
    • Sample code
    • API reference
    • Debugging
    • FAQs
    • Key concepts
  • Documentation
  • Voice Call
  • Develop your app
  • Integrate the SDK

Integrate the SDK

Last updated:2023-04-07 18:17

1 Preparation environment

Please ensure that the development environment meets the following technical requirements:

  • Visual Studio 2015 and higher.
  • Windows7, Windows8, Windows10.
  • External devices that support audio functions such as microphones and cameras.

2 Create project

  • Open Microsoft Visual Studio and click Create new project.
  • On the New Project panel, choose MFC Application as the project type, input the project name, choose the project location, and click OK.
  • On the MFC Application panel, choose Application type > Dialog based, and click Finish.

3 Integrated SDK

3.1 Download SDK

Please download Zego Express SDK, unzip and copy to your project files. The SDK contains two directories, each of which contains the following files.

include --------------- contains SDK header files
lib    ---------------- contains the .lib and .dll files
    | x86 ------------- 32-bit version
    | x64 ------------- 64-bit version

3.2 Project Settings

Right-click the project name in the Solution Explorer window, click Properties to configure the following project properties, and click OK.

Add the include directory to the header file search path

  • C/C++ -> General-> Add include directory in Additional include Directories

Adding the libs directory to the library search path

  • Linker-> General-> Add lib/x86 or lib/x64 in the Additional Library Directories
  • Linker-> Input-> Add ZegoExpressEngine.lib in Additional Dependencies

After integrating the SDK, you can use the ZEGO SDK to complete the following functions in order to achieve the basic call or live broadcast.

Page Directory