嵌入SDK

1.1 下载SDK

下载SDK,其中包括

starrtccoreDll_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
LIST.TXT
StarIMMessageBuilder.h
StarRtcCore.h
XHChatManager.h
XHChatroomManager.h
XHGroupManager.h
XHLiveManager.h
XHMeetingManager.h
XHVoipManager.h
XHVoipP2PManager.h


1.2 导入SDK文件

使用visual studio 2017 创建一个新工程,将下载到的库文件复制到工程目录下。

然后解决方案右键属性下c/c++中附加包含目录添加下载库文件中的third依赖文件,....\third\sqlite;....\third\json\include;....\third\opencv\build32\include;....\third\starrtccoredll\include
链接器–输入–附加依赖项添加starrtccoreDll_release.lib;json_release.lib;opencv_core341.lib;opencv_highgui341.lib;opencv_imgcodecs341.lib;opencv_videoio341.lib;sqlite3.lib
可参考starrtcdemo.sln解决方案配置