Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adpat native sdk 4.3.1 #57

Merged
merged 2 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .yarn/install-state.gz
Binary file not shown.
7 changes: 7 additions & 0 deletions configs/rtc/fixed_return_type_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ module.exports = {
is_const: false,
is_builtin_type: true,
},
'agora::media::IFaceInfoObserver.onFaceInfo': {
name: 'void',
source: 'void',
kind: SimpleTypeKind.value_t,
is_const: false,
is_builtin_type: true,
},
'agora::media::IAudioSpectrumObserver.onLocalAudioSpectrum': {
name: 'void',
source: 'void',
Expand Down
2 changes: 2 additions & 0 deletions configs/rtc/remove_node_list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@ module.exports = [
'agora::rtc::MusicContentCenterConfiguration.eventHandler',
'agora::rtc::IAudioDeviceManager.getPlaybackDeviceInfo.deviceId',
'agora::rtc::IAudioDeviceManager.getPlaybackDeviceInfo.deviceName',
'agora::rtc::IAudioDeviceManager.getPlaybackDeviceInfo.deviceTypeName',
'agora::rtc::IAudioDeviceManager.getRecordingDeviceInfo.deviceId',
'agora::rtc::IAudioDeviceManager.getRecordingDeviceInfo.deviceName',
'agora::rtc::IAudioDeviceManager.getRecordingDeviceInfo.deviceTypeName',
'agora::rtc::IRtcEngineEx.joinChannelEx.eventHandler',
'agora::rtc::IRtcEngine.joinChannelWithUserAccountEx.eventHandler',
'agora::rtc::IRtcEngine.getVersion.build',
Expand Down
6 changes: 6 additions & 0 deletions headers/rtc_4.3.1/custom_headers/CustomIAgoraMediaEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ class IMediaEngine {
virtual int
unregisterVideoEncodedFrameObserver(IVideoEncodedFrameObserver *observer) = 0;

/**
* @iris_api_id: MediaEngine_unregisterFaceInfoObserver
* @source: virtual int registerFaceInfoObserver(IFaceInfoObserver* observer) = 0;
*/
virtual int unregisterFaceInfoObserver(IFaceInfoObserver* observer) = 0;

// ----------------------------- 👆🏻new API👆🏻 -----------------------------
};

Expand Down
5 changes: 3 additions & 2 deletions headers/rtc_4.3.1/custom_headers/CustomIAgoraRtcEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ struct VideoDeviceInfo {
};

// IAudioDeviceCollection
// virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH],
// char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;
// virtual int getDevice(int index, char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH],
// char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;
struct AudioDeviceInfo {
const char *deviceId;
const char *deviceTypeName;
const char *deviceName;
};

Expand Down
21 changes: 19 additions & 2 deletions headers/rtc_4.3.1/custom_headers/CustomIAudioDeviceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,34 @@ class IAudioDeviceManager {

/**
* @iris_api_id: AudioDeviceManager_getPlaybackDefaultDevice
* @source: virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;
* @source: virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;
*/
virtual AudioDeviceInfo *getPlaybackDefaultDevice() = 0;

/**
* @iris_api_id: AudioDeviceManager_getRecordingDefaultDevice
* @source: virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;
* @source: virtual int getDefaultDevice(char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH], char deviceId[MAX_DEVICE_ID_LENGTH]) = 0;
*/
virtual AudioDeviceInfo *getRecordingDefaultDevice() = 0;

// ----------------------------- 👆🏻rename API👆🏻 -----------------------------

// ----------------------------- 👇🏻overload API👇🏻 -----------------------------

/**
* @iris_api_id: AudioDeviceManager_getPlaybackDeviceInfo_ed3a96d
* @source: virtual int getPlaybackDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0;
*/
virtual AudioDeviceInfo * getPlaybackDeviceInfo() = 0;

/**
* @iris_api_id: AudioDeviceManager_getRecordingDeviceInfo_ed3a96d
* @source: virtual int getRecordingDeviceInfo(char deviceId[MAX_DEVICE_ID_LENGTH], char deviceName[MAX_DEVICE_ID_LENGTH], char deviceTypeName[MAX_DEVICE_ID_LENGTH]) = 0;
*/
virtual AudioDeviceInfo * getRecordingDeviceInfo() = 0;

// ----------------------------- 👆🏻overload API👆🏻 -----------------------------

};

} // namespace ext
Expand Down
82 changes: 64 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ __metadata:

"@agoraio-extensions/cxx-parser@[email protected]:AgoraIO-Extensions/terra.git#head=main&workspace=cxx-parser":
version: 0.1.9
resolution: "@agoraio-extensions/cxx-parser@[email protected]:AgoraIO-Extensions/terra.git#workspace=cxx-parser&commit=4ab49c2e6550177b86c72bab8a129ef5f6eeedd3"
resolution: "@agoraio-extensions/cxx-parser@[email protected]:AgoraIO-Extensions/terra.git#workspace=cxx-parser&commit=b6d01902f1082a83ab77310a30d35a6c87f48297"
dependencies:
glob: "npm:^10.3.4"
yaml: "npm:^2.1.3"
peerDependencies:
"@agoraio-extensions/terra-core": "*"
checksum: 943919a08ac84e0c0e21954dd9b3444fd4e5ab83f2c787196c2374990baad51efa8a25626bbec0e1bd7506d9f9dac9d5d8884b4f632337dedba7c23efa0af831
checksum: 378b9e5f7986d1fa92e6de41fe6ee6b07177b77cb587cdd69694f1ac954626d2b0fc9aa29dd3b4a4907707f9837ec0e5b89c119be24d73ebdb7a86b08466dac9
languageName: node
linkType: hard

"@agoraio-extensions/terra-core@[email protected]:AgoraIO-Extensions/terra.git#head=main&workspace=terra-core":
version: 0.1.5
resolution: "@agoraio-extensions/terra-core@[email protected]:AgoraIO-Extensions/terra.git#workspace=terra-core&commit=4ab49c2e6550177b86c72bab8a129ef5f6eeedd3"
resolution: "@agoraio-extensions/terra-core@[email protected]:AgoraIO-Extensions/terra.git#workspace=terra-core&commit=b6d01902f1082a83ab77310a30d35a6c87f48297"
checksum: d7113225ab004b2ff09de3c3718262925dc335f5ffb8ac2800bb96bfb2ad67a307063a425bd14654356d804586a785efe3856462e1087472463eb233a6793e44
languageName: node
linkType: hard
Expand Down Expand Up @@ -1067,11 +1067,11 @@ __metadata:
linkType: hard

"@types/node@npm:*, @types/node@npm:^20.5.9":
version: 20.11.24
resolution: "@types/node@npm:20.11.24"
version: 20.11.25
resolution: "@types/node@npm:20.11.25"
dependencies:
undici-types: "npm:~5.26.4"
checksum: 5a62225eb4797b41e6953f9c08c4611d607b5422ddd153312fc81ed6ed37115228ae27e3e3caa1a3bf52d88310306a196ba1cfbd8b2ec918a20f64d80dfa22c9
checksum: 3a65a0469309d503e572a3198d81c9248876236b1bcc0c9943e995cfa536df7ce9a9302638258984877420d1613167a8a82dbfb3a92197319fb79ebebf9abc83
languageName: node
linkType: hard

Expand Down Expand Up @@ -1694,9 +1694,9 @@ __metadata:
linkType: hard

"caniuse-lite@npm:^1.0.30001587":
version: 1.0.30001593
resolution: "caniuse-lite@npm:1.0.30001593"
checksum: c1601015ee4846da731f78164d4d863e6ee49a32988c4d879e9ab07ebdedcd32122161a3ff09f991485208d7a743db62fb5bd3dfbe4312f271c03f810a85cb4f
version: 1.0.30001596
resolution: "caniuse-lite@npm:1.0.30001596"
checksum: 60589001c7d9bb89e2bf08f1aeadd09c867e41661b1fd2c1d562ca8e67a9f645f7dd9572aeca7ffdfff37a4e17ccf6a4cfdd29dde5a7454f5f08f5f372345d13
languageName: node
linkType: hard

Expand Down Expand Up @@ -1862,6 +1862,39 @@ __metadata:
languageName: node
linkType: hard

"data-view-buffer@npm:^1.0.1":
version: 1.0.1
resolution: "data-view-buffer@npm:1.0.1"
dependencies:
call-bind: "npm:^1.0.6"
es-errors: "npm:^1.3.0"
is-data-view: "npm:^1.0.1"
checksum: 8984119e59dbed906a11fcfb417d7d861936f16697a0e7216fe2c6c810f6b5e8f4a5281e73f2c28e8e9259027190ac4a33e2a65fdd7fa86ac06b76e838918583
languageName: node
linkType: hard

"data-view-byte-length@npm:^1.0.0":
version: 1.0.0
resolution: "data-view-byte-length@npm:1.0.0"
dependencies:
call-bind: "npm:^1.0.6"
es-errors: "npm:^1.3.0"
is-data-view: "npm:^1.0.1"
checksum: 779eed07675503459988cbc3cf9aa5c40164f3ff7912d81e009c64f98c29a1a456357200ef819487b0f7b28da3d4f3036596ca7015e8a4f6af3810f8302c797a
languageName: node
linkType: hard

"data-view-byte-offset@npm:^1.0.0":
version: 1.0.0
resolution: "data-view-byte-offset@npm:1.0.0"
dependencies:
call-bind: "npm:^1.0.6"
es-errors: "npm:^1.3.0"
is-data-view: "npm:^1.0.1"
checksum: 21b0d2e53fd6e20cc4257c873bf6d36d77bd6185624b84076c0a1ddaa757b49aaf076254006341d35568e89f52eecd1ccb1a502cfb620f2beca04f48a6a62a8f
languageName: node
linkType: hard

"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4":
version: 4.3.4
resolution: "debug@npm:4.3.4"
Expand Down Expand Up @@ -1987,9 +2020,9 @@ __metadata:
linkType: hard

"electron-to-chromium@npm:^1.4.668":
version: 1.4.690
resolution: "electron-to-chromium@npm:1.4.690"
checksum: fba87387968bac5ac55161dc176e55d92a54146ae1e5fb16c3fdd5bf4f250ce6f271713659c0cdfa7fc0fd9a9ea1a79803f266fa2b936535b208c0759a4d3983
version: 1.4.698
resolution: "electron-to-chromium@npm:1.4.698"
checksum: b6c8c68aa0d1333ae5d8a8bf26c9735d6cbeb43e516ea2e6b94441fb924e7e9b990904939218427b110f48a4f533fb002ae4b1dd4c6eff66423805a9c7a15f7f
languageName: node
linkType: hard

Expand Down Expand Up @@ -2047,13 +2080,16 @@ __metadata:
linkType: hard

"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3":
version: 1.22.5
resolution: "es-abstract@npm:1.22.5"
version: 1.23.0
resolution: "es-abstract@npm:1.23.0"
dependencies:
array-buffer-byte-length: "npm:^1.0.1"
arraybuffer.prototype.slice: "npm:^1.0.3"
available-typed-arrays: "npm:^1.0.7"
call-bind: "npm:^1.0.7"
data-view-buffer: "npm:^1.0.1"
data-view-byte-length: "npm:^1.0.0"
data-view-byte-offset: "npm:^1.0.0"
es-define-property: "npm:^1.0.0"
es-errors: "npm:^1.3.0"
es-set-tostringtag: "npm:^2.0.3"
Expand All @@ -2070,6 +2106,7 @@ __metadata:
internal-slot: "npm:^1.0.7"
is-array-buffer: "npm:^3.0.4"
is-callable: "npm:^1.2.7"
is-data-view: "npm:^1.0.1"
is-negative-zero: "npm:^2.0.3"
is-regex: "npm:^1.1.4"
is-shared-array-buffer: "npm:^1.0.3"
Expand All @@ -2091,7 +2128,7 @@ __metadata:
typed-array-length: "npm:^1.0.5"
unbox-primitive: "npm:^1.0.2"
which-typed-array: "npm:^1.1.14"
checksum: 4bca5a60f0dff6c0a5690d8e51374cfcb8760d5dbbb1069174b4d41461cf4e0c3e0c1993bccbc5aa0799ff078199f1bcde2122b8709e0d17c2beffafff01010a
checksum: afda67ce205fedbd080b435a07cf479b257dc2f762dbab32d0a2011f1cf507326f8bbc41619754ad0ab5e6c88d0ec2e96e6bd7aed9511bfe04fdb1e08cad1c20
languageName: node
linkType: hard

Expand Down Expand Up @@ -3059,6 +3096,15 @@ __metadata:
languageName: node
linkType: hard

"is-data-view@npm:^1.0.1":
version: 1.0.1
resolution: "is-data-view@npm:1.0.1"
dependencies:
is-typed-array: "npm:^1.1.13"
checksum: a3e6ec84efe303da859107aed9b970e018e2bee7ffcb48e2f8096921a493608134240e672a2072577e5f23a729846241d9634806e8a0e51d9129c56d5f65442d
languageName: node
linkType: hard

"is-date-object@npm:^1.0.1":
version: 1.0.5
resolution: "is-date-object@npm:1.0.5"
Expand Down Expand Up @@ -5480,11 +5526,11 @@ __metadata:
linkType: hard

"yaml@npm:^2.1.3":
version: 2.4.0
resolution: "yaml@npm:2.4.0"
version: 2.4.1
resolution: "yaml@npm:2.4.1"
bin:
yaml: bin.mjs
checksum: 97ab0b5a0714c92e4dd75120a6a63e470b0adc282afae0a701bf38f8c42cbf6429fcd6aca883e3a63c68936ab841862e6c69e2d66d355c3e4fc7cfd346af2108
checksum: 816057dbaea16a7dfb0b868ace930f143dece96bbb4c4fbb6f38aa389166f897240d9fa535dbfd6b1b0d9442416f4abcc698e63f82394d0c67b329aa6c2be576
languageName: node
linkType: hard

Expand Down
Loading