Integrate the SDK

1.1 Download the SDK

Download the SDK,including

libstarRTC.a
XHChatManager.h
XHChatroomManager.h
XHClient.h
XHConstants.h
XHGroupManager.h
XHLiveManager.h
XHLoginManager.h
XHVideoConfig.h
XHVoipManager.h
XHMeetingManager.h
XHWhitePanel.h
XHWhitePanel2.h
XHVoipP2PManager.h
XHCustomConfig.h


1.2 Importing the SDK files

Create a new project and copy the downloaded library files to the project directory.

In the “Project Navigation” interface, select the project and select the corresponding “Target”, then select the “Build Phases” option and expand “Link Binaries With Libraries”.
Next you can click the “+” button and select the library you downloaded. At last click the “Add” button to add.

Dependent library:

Dependent library:

Import the following header files in the file you are using the sdk:

#import "XHClient.h"