Windows

更新时间:
复制 MD 格式

This topic describes how to integrate RTC SDK for Windows.

Prerequisites

Visual Studio 2010 or later is installed.

Environment requirements

For more information about the environment requirements for Windows, see Limits.

Integrate RTC SDK for Windows

Note The following procedure describes how to integrate RTC SDK for Windows in an MFC project. You can integrate RTC SDK for Windows in other UI frameworks based on your requirements.
  1. Visit SDK download to download the RTC SDK package for Windows and decompress the package.
  2. Use Visual Studio to create an MFC dialog-based project and specify a project name such as RtcSample.
    Create a project
  3. Move the decompressed SDK file to the directory in which the .sln file is stored.
  4. Configure the properties of the RtcSample project and specify the directories in which the SDK library and header file are stored.
    Note Only Release x86 is supported.
  5. Configure the complier for 32-bit architecture.
    Configure compilation settings
  6. In the RtcSample Property Pages dialog box, specify the directory in which the dependency header file is stored.
    Specify the dependent header file directory
  7. Specify the directory in which the static library is stored.
    Specify the static library directory
  8. Copy AliRTCSdk.dll and alivcffmpeg.dll to the program execution path.
  9. Perform the compilation. If the compilation is successful, RTC SDK for Windows is integrated in the project.

What to do next

After RTC SDK for Windows is integrated, you can use RTC in your applications. For more information, see Windows.