File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff 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
2626typedef 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+
8287typedef const char * (* msg_handle_t )(const char * id , XP2PType type , const char * msg );
8388typedef void (* av_recv_handle_t )(const char * id , uint8_t * recv_buf , size_t recv_len );
8489typedef 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);
295300IPCLIBRARY_API void setStunServerToXp2p (const char * server , uint16_t port );
296301
297302IPCLIBRARY_API void setContentDetail (const char * content , const char * detail );
298- IPCLIBRARY_API const char * getContentData ();
303+ IPCLIBRARY_API data_report_t getContentData ();
299304IPCLIBRARY_API const char * getUserID ();
300305#ifdef __cplusplus
301306}
You can’t perform that action at this time.
0 commit comments