From 8acec1cff920777e879aa011f38decdd1e73f581 Mon Sep 17 00:00:00 2001 From: gxz Date: Tue, 23 Jul 2024 13:28:16 +0800 Subject: [PATCH] chore: fix 4.3.1.136 custom header --- configs/rtc/remove_node_list.ts | 1 + .../custom_headers/CustomIAgoraRtcEngine.h | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/configs/rtc/remove_node_list.ts b/configs/rtc/remove_node_list.ts index da51d76..5a8fe9f 100644 --- a/configs/rtc/remove_node_list.ts +++ b/configs/rtc/remove_node_list.ts @@ -78,6 +78,7 @@ module.exports = [ 'agora::media::IVideoFrameObserver.getObservedFramePosition', 'agora::media::IVideoFrameObserver.isExternal', 'agora::rtc::IMediaPlayer.setPlayerOption', + 'agora::rtc::IMediaPlayer.getPlayerOption', 'agora::rtc::IMusicPlayer.open', 'agora::rtc::RtcEngineContext.context', 'agora::rtc::RtcEngineContext.eventHandler', diff --git a/headers/rtc_4.3.1.136/custom_headers/CustomIAgoraRtcEngine.h b/headers/rtc_4.3.1.136/custom_headers/CustomIAgoraRtcEngine.h index d9d916e..d4fe64d 100644 --- a/headers/rtc_4.3.1.136/custom_headers/CustomIAgoraRtcEngine.h +++ b/headers/rtc_4.3.1.136/custom_headers/CustomIAgoraRtcEngine.h @@ -212,9 +212,11 @@ class IRtcEngine { */ virtual void release(bool sync = false) = 0; - // ----------------------------- 👆🏻overload API👆🏻 ----------------------------- - - // ----------------------------- 👇🏻rename API👇🏻 ----------------------------- + /** + * @iris_api_id: RtcEngine_getUserInfoByUid_0a0b913 + * @source: virtual int stopScreenCapture() = 0; + */ + virtual int getUserInfoByUid(const char* channelId, uid_t uid, rtc::UserInfo* userInfo) = 0; /** * @iris_api_id: RtcEngine_getUserInfoByUid_0a0b913 @@ -222,12 +224,22 @@ class IRtcEngine { */ virtual int getUserInfoByUidWithChannelId(const char *channelId, uid_t uid, rtc::UserInfo *userInfo) = 0; + /** + * @iris_api_id: RtcEngine_getUserInfoByUserAccount_86c855f + * @source: virtual int getUserInfoByUserAccount(const char* channelId, const char* userAccount, rtc::UserInfo* userInfo) = 0; + */ + virtual int getUserInfoByUserAccount(const char* channelId, const char* userAccount, rtc::UserInfo* userInfo) = 0; + /** * @iris_api_id: RtcEngine_getUserInfoByUserAccount_86c855f * @source: virtual int getUserInfoByUserAccount(const char* channelId, const char* userAccount, rtc::UserInfo* userInfo) = 0; */ virtual int getUserInfoByUserAccountWithChannelId(const char* channelId, const char* userAccount, rtc::UserInfo* userInfo) = 0; + // ----------------------------- 👆🏻overload API👆🏻 ----------------------------- + + // ----------------------------- 👇🏻rename API👇🏻 ----------------------------- + /** * @iris_api_id: RtcEngine_startPreview * @source: virtual int startPreview() = 0;