Integrate the SDK
1.1 Download the SDK
Download the SDK,includingstarrtccoreDll_release.lib
CCallbackResult.h
CChatManager.h
CChatroomManager.h
cchatroomtype.h
CCodecManager.h
CGroupInfo.h
CGroupManager.h
ChatroomInfo.h
CIMMessage.h
CLiveManager.h
CLogin.h
CMeetingManager.h
CropType.h
CServiceParam.h
CSrcManager.h
CUserManager.h
CUtil.h
CVoipP2PManager.h
IChatManagerListener.h
IChatroomGetListListener.h
IChatroomManagerListener.h
IGroupGetListListener.h
IGroupListener.h
IGroupManagerListener.h
ILiveInterface.h
ILiveManagerListener.h
IMeetingManagerListener.h
IRecvDataListener.h
ISrcListener.h
ISrcManagerListener.h
IStarIMC2CListener.h
IStarIMChatroomListener.h
IStarVoipListener.h
IStarVoipP2PListener.h
IVdnListener.h
IVdnManagerListener.h
IVoipManagerListener.h
IVoipP2PManagerListener.h
StarIMMessageBuilder.h
StarRtcCore.h
XHChatManager.h
XHChatroomManager.h
XHGroupManager.h
XHLiveManager.h
XHMeetingManager.h
XHVoipManager.h
XHVoipP2PManager.h
1.2 Importing the SDK files
Create a new project by using visual studio 2017 and copy the downloaded library files to the project directory.
Dependent file configuration
Head file:
“Configuration property page”->”c/c++”->”convention”->”Additional include directory”, and add the corresponding header file directory in the third directory of the download library file...\..\third\sqlite;..\..\third\json\include;..\..\third\opencv\build32\include;..\..\third\starrtccoredll\include
lib文件:
“Configuration property page”->”Linker”->”convention”->”Additional library directory”,nd add the corresponding library file directory in the third directory of the download library file...\..\third\opencv\build32\lib\Release;..\..\third\opencv\build32\bin\Release;..\..\third\sqlite;..\..\third\starrtccoredll\lib;..\..\third\json\lib
“Configuration property page”->”Linker”->”Input”->”Additional library directory”starrtccoreDll_release.lib;json_release.lib;opencv_core341.lib;opencv_highgui341.lib;opencv_imgcodecs341.lib;opencv_videoio341.lib;sqlite3.lib
Please refer to the starrtcdemo.sln solution for detailed configuration.
Please use the release mode to compile.