Skip to content

Commit

Permalink
feat: upgrade native sdk 4.2.3.2 (#1438)
Browse files Browse the repository at this point in the history
Update native sdk 4.2.3.2 dependencies

> This pull request is trigger by bot, you can checkout this branch and
update it.

---------

Co-authored-by: littleGnAl <[email protected]>
  • Loading branch information
littleGnAl and littleGnAl authored Nov 21, 2023
1 parent 0a89d4a commit 96233bb
Show file tree
Hide file tree
Showing 22 changed files with 511 additions and 848 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ jobs:
integration_test_android:
name: Run Flutter Android Integration Tests
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
needs: flutter_codestyle_check
strategy:
matrix:
version: ["2.10.5", "3.13.4"]
runs-on: macos-13
runs-on: macos-12
timeout-minutes: 120
env:
TEST_APP_ID: ${{ secrets.MY_APP_ID }}
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ dependencies {
if (isDev(project)) {
implementation fileTree(dir: "libs", include: ["*.jar"])
} else {
api 'io.agora.rtc:iris-rtc:4.2.3.1-build.4'
api 'io.agora.rtc:agora-special-full:4.2.3.1'
api 'io.agora.rtc:full-screen-sharing:4.2.3.1'
api 'io.agora.rtc:iris-rtc:4.2.3.2-build.1'
api 'io.agora.rtc:agora-special-full:4.2.3.2'
api 'io.agora.rtc:full-screen-sharing:4.2.3.2'
}
}

Expand Down
44 changes: 39 additions & 5 deletions android/src/main/cpp/third_party/include/agora_rtc/AgoraBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,10 @@ enum ERROR_CODE_TYPE {
* 1501: Video Device Module: The camera is not authorized.
*/
ERR_VDM_CAMERA_NOT_AUTHORIZED = 1501,
/**
* 2007: Audio Device Module: An error occurs in starting the application loopback.
*/
ERR_ADM_APPLICATION_LOOPBACK = 2007,
};

enum LICENSE_ERROR_TYPE {
Expand Down Expand Up @@ -2751,6 +2755,16 @@ enum LOCAL_VIDEO_STREAM_ERROR {
* Check whether the ID of the video device is valid.
*/
LOCAL_VIDEO_STREAM_ERROR_DEVICE_INVALID_ID = 10,
/**
* 14: (Android only) Video capture was interrupted, possibly due to the camera being occupied
* or some policy reasons such as background termination.
*/
LOCAL_VIDEO_STREAM_ERROR_DEVICE_INTERRUPT = 14,
/**
* 15: (Android only) The device may need to be shut down and restarted to restore camera function,
* or there may be a persistent hardware problem.
*/
LOCAL_VIDEO_STREAM_ERROR_DEVICE_FATAL_ERROR = 15,
/**
* 101: The current video capture device is unavailable due to excessive system pressure.
*/
Expand Down Expand Up @@ -2784,6 +2798,22 @@ enum LOCAL_VIDEO_STREAM_ERROR {
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_FAILURE = 21,
/** 22: No permision to capture screen. */
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_NO_PERMISSION = 22,
/**
* 23: The screen capture paused.
*
* Common scenarios for reporting this error code:
* - When the desktop switch to the secure desktop such as UAC dialog or the Winlogon desktop on
* Windows platform, the SDK reports this error code.
*/
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED = 23,
/** 24: The screen capture is resumed. */
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED = 24,
/** 25: (Windows only) The local screen capture window is currently hidden and not visible on the desktop. */
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_HIDDEN = 25,
/** 26: (Windows only) The local screen capture window is recovered from its hidden state. */
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN = 26,
/** 27:(Windows only) The window is recovered from miniminzed */
LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED = 27,
};

/**
Expand Down Expand Up @@ -3776,10 +3806,6 @@ struct LocalTranscoderConfiguration {
};

enum VIDEO_TRANSCODER_ERROR {
/**
* No error
*/
VT_ERR_OK = 0,
/**
* The video track of the video source is not started.
*/
Expand Down Expand Up @@ -3998,6 +4024,10 @@ enum CONNECTION_CHANGED_REASON_TYPE
* 21: The connection is failed due to license validation failure.
*/
CONNECTION_CHANGED_LICENSE_VALIDATION_FAILURE = 21,
/**
* 22: The connection is failed due to certification verify failure.
*/
CONNECTION_CHANGED_CERTIFICATION_VERYFY_FAILURE = 22,
};

/**
Expand Down Expand Up @@ -4108,6 +4138,10 @@ enum NETWORK_TYPE {
* 5: The network type is mobile 4G.
*/
NETWORK_TYPE_MOBILE_4G = 5,
/**
* 6: The network type is mobile 5G.
*/
NETWORK_TYPE_MOBILE_5G = 6,
};

/**
Expand Down Expand Up @@ -5268,7 +5302,7 @@ struct ChannelMediaRelayConfiguration {
*/
ChannelMediaInfo *destInfos;
/** The number of destination channels. The default value is 0, and the value range is from 0 to
* 4. Ensure that the value of this parameter corresponds to the number of `ChannelMediaInfo`
* 6. Ensure that the value of this parameter corresponds to the number of `ChannelMediaInfo`
* structs you define in `destInfo`.
*/
int destCount;
Expand Down
Loading

0 comments on commit 96233bb

Please sign in to comment.