Skip to content

Commit

Permalink
feat: support native 4.2.2.142 (#1178)
Browse files Browse the repository at this point in the history
* chore: config terra 4.2.2.142

* chore: cherry pick terra config

* chore: bump NativeSDK to 4.2.2.142

* chore: release 4.2.2-build.142-rc.1

* chore(example): update example to install agora-electron-sdk@4.2.2-build.142-rc.1

---------

Co-authored-by: sda_rob <sda_rob@agora.io>
  • Loading branch information
guoxianzhe and sda-rob committed Apr 1, 2024
1 parent 4835a8c commit 473815e
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 3,809 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@


## [4.2.2-build.142-rc.1](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.2-build.141-rc.2...v4.2.2-build.142-rc.1) (2024-03-29)

## [4.2.2-build.141-rc.2](https://github.com/AgoraIO-Extensions/Electron-SDK/compare/v4.2.2-build.141-rc.1...v4.2.2-build.141-rc.2) (2023-12-15)


Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
]
},
"dependencies": {
"agora-electron-sdk": "4.2.2-build.141-rc.2",
"agora-electron-sdk": "4.2.2-build.142-rc.1",
"antd": "^4.20.3",
"download": "^8.0.0",
"ffi-napi": "^4.0.3",
Expand Down
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1783,10 +1783,10 @@ aggregate-error@^3.0.0:
clean-stack "^2.0.0"
indent-string "^4.0.0"

agora-electron-sdk@4.2.2-build.141-rc.2:
version "4.2.2-build.141-rc.2"
resolved "https://registry.npmjs.org/agora-electron-sdk/-/agora-electron-sdk-4.2.2-build.141-rc.2.tgz#fb094ac81fe5a7df239f50ef3ba22f12a473d264"
integrity sha512-0qNP8mGxcxlA19inixzkv8iqpdzB03TMMNiIrhycQtLGDxBvuhGhazvwNZiKS2O3h8XdyBZoAD2BIiE9YNk83Q==
agora-electron-sdk@4.2.2-build.142-rc.1:
version "4.2.2-build.142-rc.1"
resolved "https://registry.npmjs.org/agora-electron-sdk/-/agora-electron-sdk-4.2.2-build.142-rc.1.tgz#f8087c597a9e139f90b8f2dc80386f2037725b8b"
integrity sha512-CD+973GkThf+KhSwnzidh0J/3ssbmlOuA+C6HkoVHZSQLG+188T/gEwpcDoBAJndEUfBMILbcuksvkPnM7KIfA==
dependencies:
buffer "^6.0.3"
cross-env "^7.0.3"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agora-electron-sdk",
"version": "4.2.2-build.141-rc.2",
"version": "4.2.2-build.142-rc.1",
"description": "agora-electron-sdk",
"main": "js/AgoraSdk",
"types": "types/AgoraSdk.d.ts",
Expand Down Expand Up @@ -136,7 +136,7 @@
"yuv-canvas": "1.2.6"
},
"agora_electron": {
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.2.2.141-build.2_DCG_Windows_Video_20231214_0900.zip",
"iris_sdk_win": "https://download.agora.io/sdk/release/iris_4.2.2.142-build.1_DCG_Windows_Video_20240329_1152.zip",
"iris_sdk_mac": "https://download.agora.io/sdk/release/iris_4.2.2.136-build.1_DCG_Mac_Video_20230922_0351.zip"
}
}
1 change: 1 addition & 0 deletions scripts/terra/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ node_modules
!.yarn/releases
!.yarn/sdks
!.yarn/versions
yarn.lock
20 changes: 10 additions & 10 deletions scripts/terra/code_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ parsers:
package: '@agoraio-extensions/terra-legacy-cxx-parser'
args:
includeHeaderDirs:
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include'
parseFiles:
include:
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/*.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/*.h'
exclude:
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/AgoraRefPtr.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/time_utils.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/AgoraOptional.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/AgoraRefPtr.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/IAgoraH265Transcoder.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/IAgoraMediaComponentFactory.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/include/IAgoraParameter.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/AgoraRefPtr.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/time_utils.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/AgoraOptional.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/AgoraRefPtr.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/IAgoraH265Transcoder.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/IAgoraMediaComponentFactory.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/include/IAgoraParameter.h'
customHeaders:
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.138/custom_headers/*.h'
- '@agoraio-extensions/terra_shared_configs:headers/rtc_4.2.2.142/custom_headers/*.h'
language: ts
definesMacros:
- __ELECTRON__
Expand Down
10 changes: 10 additions & 0 deletions scripts/terra/generate-prepare.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
set -x

# treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.
touch yarn.lock
rm -rf node_modules
rm -rf .terra
yarn install
rm yarn.lock
8 changes: 4 additions & 4 deletions scripts/terra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"@types/node": "^20.6.0"
},
"dependencies": {
"@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#commit=5dd8149d5ab9f3b472b7715916b6217f9745f066&workspace=terra",
"@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#commit=5dd8149d5ab9f3b472b7715916b6217f9745f066&workspace=terra-core",
"@agoraio-extensions/terra-legacy-cxx-parser": "git@github.com:AgoraIO-Extensions/terra-legacy-cxx-parser.git#commit=5455afd2c5e29013d9a3cb8d06150c162450a5ed",
"@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git#commit=ea5b0574dace3a434ad87dbeac2d43a5b62ef636",
"@agoraio-extensions/terra": "git@github.com:AgoraIO-Extensions/terra.git#workspace=terra",
"@agoraio-extensions/terra-core": "git@github.com:AgoraIO-Extensions/terra.git#workspace=terra-core",
"@agoraio-extensions/terra-legacy-cxx-parser": "git@github.com:AgoraIO-Extensions/terra-legacy-cxx-parser.git",
"@agoraio-extensions/terra_shared_configs": "git@github.com:AgoraIO-Extensions/terra_shared_configs.git",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
Expand Down

0 comments on commit 473815e

Please sign in to comment.