Skip to content

Commit

Permalink
fix 4.3.1.136 custom header (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe authored Jul 23, 2024
1 parent 149bc02 commit 36c64b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions configs/rtc/remove_node_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
18 changes: 15 additions & 3 deletions headers/rtc_4.3.1.136/custom_headers/CustomIAgoraRtcEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -212,22 +212,34 @@ 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
* @source: virtual int getUserInfoByUid(const char* channelId, uid_t uid, rtc::UserInfo* userInfo) = 0;
*/
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;
Expand Down

0 comments on commit 36c64b5

Please sign in to comment.