Skip to content

Commit 9b57437

Browse files
runnerrunner
authored andcommitted
1 parent 97e82ba commit 9b57437

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Source/XP2P-iOS/Classes/AppWrapper.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern "C" {
2121

2222
#define MAX_SIZE_OF_PARAMS 3000
2323

24-
static const char * VIDEOSDKVERSION = "2.4.48+git.6888711d";
24+
static const char * VIDEOSDKVERSION = "2.4.x+git.889200c8";
2525

2626
typedef enum
2727
{
@@ -79,6 +79,11 @@ typedef enum
7979
XP2P_ERR_CLIENT_NULL = -1020 //从map中取出的client为空
8080
} XP2PErrCode;
8181

82+
typedef struct {
83+
unsigned char* report_buf;
84+
size_t report_size;
85+
} data_report_t;
86+
8287
typedef const char *(*msg_handle_t)(const char *id, XP2PType type, const char *msg);
8388
typedef void (*av_recv_handle_t)(const char *id, uint8_t *recv_buf, size_t recv_len);
8489
typedef char *(*device_data_recv_handle_t)(const char *id, uint8_t *recv_buf, size_t recv_len);
@@ -295,7 +300,7 @@ IPCLIBRARY_API size_t getStreamBufSize(const char *id);
295300
IPCLIBRARY_API void setStunServerToXp2p(const char *server, uint16_t port);
296301

297302
IPCLIBRARY_API void setContentDetail(const char *content, const char *detail);
298-
IPCLIBRARY_API const char* getContentData();
303+
IPCLIBRARY_API data_report_t getContentData();
299304
IPCLIBRARY_API const char* getUserID();
300305
#ifdef __cplusplus
301306
}

Source/XP2P-iOS/libenet.a

752 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)