Skip to content

Commit

Permalink
[AUTO] Update native headers
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe authored Mar 21, 2024
1 parent b6998aa commit 68196d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
1 change: 1 addition & 0 deletions headers/rtc_4.3.1/include/AgoraMediaBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ enum VIDEO_PIXEL_FORMAT {
VIDEO_TEXTURE_ID3D11TEXTURE2D = 17,
/**
* 18: I010. 10bit I420 data.
* @technical preview
*/
VIDEO_PIXEL_I010 = 18,
};
Expand Down
29 changes: 13 additions & 16 deletions headers/rtc_4.3.1/include/IAgoraRtcEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -7089,19 +7089,6 @@ class IRtcEngine : public agora::base::IEngineBase {
* - < 0: Failure..
*/
virtual int getAudioDeviceInfo(DeviceInfo& deviceInfo) = 0;
/**
* Query all focal attributes supported by the camera.
*
* @param focalLengthInfos The camera supports the collection of focal segments.
*
* @param size The camera supports the size of the focal segment set.
*
* @return
* - 0: Success.
* - < 0: Failure..
*/
virtual int queryCameraFocalLengthCapability(agora::rtc::FocalLengthInfo* focalLengthInfos, int& size) = 0;

#endif // __ANDROID__

#if defined(_WIN32) || (defined(__APPLE__) && TARGET_OS_MAC && !TARGET_OS_IPHONE)
Expand Down Expand Up @@ -7212,9 +7199,19 @@ class IRtcEngine : public agora::base::IEngineBase {
* - < 0: Failure.
*/
virtual int queryScreenCaptureCapability() = 0;
#if defined(__APPLE__) && TARGET_OS_IOS
virtual int queryCameraFocalLengthCapability(agora::rtc::FocalLengthInfo* focalLengthInfo, int& size) = 0;
#endif

/**
* Query all focal attributes supported by the camera.
*
* @param focalLengthInfos The camera supports the collection of focal segments.Ensure the size of array is not less than 8.
*
* @param size The camera supports the size of the focal segment set. Ensure the size is not less than 8.
*
* @return
* - 0: Success.
* - < 0: Failure..
*/
virtual int queryCameraFocalLengthCapability(agora::rtc::FocalLengthInfo* focalLengthInfos, int& size) = 0;
#endif

#if defined(_WIN32) || defined(__APPLE__) || defined(__ANDROID__)
Expand Down

0 comments on commit 68196d4

Please sign in to comment.