diff --git a/Source/XP2P-iOS/Classes/AppWrapper.h b/Source/XP2P-iOS/Classes/AppWrapper.h index b54717a..d4cb915 100755 --- a/Source/XP2P-iOS/Classes/AppWrapper.h +++ b/Source/XP2P-iOS/Classes/AppWrapper.h @@ -21,7 +21,7 @@ extern "C" { #define MAX_SIZE_OF_PARAMS 3000 -static const char * VIDEOSDKVERSION = "2.4.52+git.1e66063e"; +static const char * VIDEOSDKVERSION = "2.4.x+git.ced4ca16"; typedef enum { @@ -313,6 +313,11 @@ IPCLIBRARY_API void setStunServerToXp2p(const char *server, uint16_t port); IPCLIBRARY_API void setContentDetail(const char *content, const char *detail, av_log_handle_t reportdata_handle); IPCLIBRARY_API const char* getUserID(); + +/** + * @brief 是否走双中转开关 + */ +IPCLIBRARY_API void setCrossStunTurn(bool enable); #ifdef __cplusplus } #endif diff --git a/Source/XP2P-iOS/libenet.a b/Source/XP2P-iOS/libenet.a index b048b87..4899415 100644 Binary files a/Source/XP2P-iOS/libenet.a and b/Source/XP2P-iOS/libenet.a differ