Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Apr 3, 2024
1 parent 97e82ba commit 9b57437
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Source/XP2P-iOS/Classes/AppWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ extern "C" {

#define MAX_SIZE_OF_PARAMS 3000

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

typedef enum
{
Expand Down Expand Up @@ -79,6 +79,11 @@ typedef enum
XP2P_ERR_CLIENT_NULL = -1020 //从map中取出的client为空
} XP2PErrCode;

typedef struct {
unsigned char* report_buf;
size_t report_size;
} data_report_t;

typedef const char *(*msg_handle_t)(const char *id, XP2PType type, const char *msg);
typedef void (*av_recv_handle_t)(const char *id, uint8_t *recv_buf, size_t recv_len);
typedef char *(*device_data_recv_handle_t)(const char *id, uint8_t *recv_buf, size_t recv_len);
Expand Down Expand Up @@ -295,7 +300,7 @@ IPCLIBRARY_API size_t getStreamBufSize(const char *id);
IPCLIBRARY_API void setStunServerToXp2p(const char *server, uint16_t port);

IPCLIBRARY_API void setContentDetail(const char *content, const char *detail);
IPCLIBRARY_API const char* getContentData();
IPCLIBRARY_API data_report_t getContentData();
IPCLIBRARY_API const char* getUserID();
#ifdef __cplusplus
}
Expand Down
Binary file modified Source/XP2P-iOS/libenet.a
Binary file not shown.

0 comments on commit 9b57437

Please sign in to comment.