From 792de9856062589981431d5a26289fcb6374664b Mon Sep 17 00:00:00 2001 From: littleGnAl Date: Sun, 29 Sep 2024 14:28:23 +0800 Subject: [PATCH] Adapt setExternalMediaProjection in native sdk 4.5.0 --- headers/custom_headers/CustomIAgoraRtcEngine.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/headers/custom_headers/CustomIAgoraRtcEngine.h b/headers/custom_headers/CustomIAgoraRtcEngine.h index 39fa9d1..bda2f11 100644 --- a/headers/custom_headers/CustomIAgoraRtcEngine.h +++ b/headers/custom_headers/CustomIAgoraRtcEngine.h @@ -331,6 +331,12 @@ class IRtcEngine { * @source: virtual int takeSnapshot(uid_t uid, const agora::media::SnapshotConfig& config) = 0; */ virtual int takeSnapshotWithConfig(uid_t uid, const agora::media::SnapshotConfig& config) = 0; + + /** + * @iris_api_id: RtcEngine_setExternalMediaProjection_f337cbf + * @source: virtual int setExternalMediaProjection(void* mediaProjection) = 0; + */ + virtual int setExternalMediaProjection(const void* mediaProjection) = 0; }; } // namespace ext