Skip to content

update rtc sdk to 4.4.1 #430

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

Merged
merged 28 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
411d3a0
Update sdk to 4.4.1
xgfd3 Aug 7, 2024
6b7f2c4
Update sdk to 4.4.1
xgfd3 Aug 7, 2024
331da1c
Update sdk to 4.4.1
xgfd3 Aug 7, 2024
7e89374
Merge pull request #398 from AgoraIO/dev/4.4.1
weileifrank Sep 10, 2024
0f7792c
for change
cqagora Sep 30, 2024
b9c35fc
feat: 解决媒体加密缺陷
weileifrank Sep 30, 2024
5092aea
feat: 升级了sdk并适配了相关逻辑
weileifrank Sep 30, 2024
7f28b7e
feat: 隐藏相关未实现的api逻辑
weileifrank Sep 30, 2024
5985813
feat: adapter sdk 4.4.0
weileifrank Sep 30, 2024
500b789
feat: 增加了本地转码的屏幕采集参数设置
weileifrank Sep 30, 2024
061077b
Merge branch 'dev/HarmonyOS_NEXT-Beta' into dev/HarmonyOS_NEXT-Beta-f…
weileifrank Sep 30, 2024
5c2cff4
feat: update hm sdk to 12
weileifrank Oct 14, 2024
cb0183f
change package name to @shengwang/rtc-full
cqagora Oct 16, 2024
9272795
change compatibleSdkVersion to 12
cqagora Oct 16, 2024
13e4296
fix mistake
cqagora Oct 16, 2024
ed8775d
fix mistake
cqagora Oct 16, 2024
09f297d
fix mistake
cqagora Oct 16, 2024
d2e782c
Merge branch 'dev/HarmonyOS_NEXT-Beta-kyle' into dev/HarmonyOS_NEXT-Beta
cqagora Oct 16, 2024
b62af09
Merge pull request #414 from AgoraIO/dev/HarmonyOS_NEXT-Beta-1
weileifrank Oct 16, 2024
1067eb0
feat: fix import for LocalVideoTranscoding.ets
weileifrank Oct 16, 2024
aed35dc
enable useNormalizedOHMUrl and use header file in har
cqagora Oct 22, 2024
bc57051
feat: fix iOS/Mac sdk download script version
tamworth Oct 25, 2024
89427d6
Merge pull request #428 from AgoraIO/dev/4.4.1
tamworth Oct 25, 2024
945c434
Merge pull request #423 from AgoraIO/dev/HarmonyOS_NEXT-Beta-11
weileifrank Oct 25, 2024
381125c
feat: add test cert
weileifrank Oct 25, 2024
7781bc3
feat: update readme
weileifrank Oct 25, 2024
798b0e6
Merge tag '4.4.1' into dev/HarmonyOS_NEXT-Beta
weileifrank Oct 25, 2024
051cd3a
feat: delete test cert
weileifrank Oct 25, 2024
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
2 changes: 1 addition & 1 deletion Android/APIExample-Audio/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

def localSdkPath= "${rootProject.projectDir.absolutePath}/../../sdk"
def agoraSdkVersion = '4.4.0'
def agoraSdkVersion = '4.4.1'

android {
compileSdkVersion 32
Expand Down
2 changes: 1 addition & 1 deletion Android/APIExample-Compose/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ composeBom = "2023.08.00"
loggingInterceptor = "4.10.0"
materialIconsExtended = "1.6.0"
navigationCompose = "2.7.7"
agoraSdk = "4.4.0"
agoraSdk = "4.4.1"
okhttp = "4.10.0"

[libraries]
Expand Down
2 changes: 1 addition & 1 deletion Android/APIExample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
apply from: "${rootDir.absolutePath}/git-hooks.gradle"
apply from: 'vendors.gradle'

def agoraSdkVersion = "4.4.0"
def agoraSdkVersion = "4.4.1"
def localSdkPath= "${rootProject.projectDir.absolutePath}/../../sdk"


Expand Down
2 changes: 1 addition & 1 deletion HarmonyOS_NEXT/APIExample/AppScope/app.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"app": {
"bundleName": "io.agora.hmos.apiexample",
"bundleName": "io.agora.api.example",
"vendor": "example",
"versionCode": 1000000,
"versionName": "1.0.0",
Expand Down
3 changes: 2 additions & 1 deletion HarmonyOS_NEXT/APIExample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ To build and run the sample application, get an App Id:
export const AppCertificate: String = YOUR APP CERTIFICATE
```

6. Download the har package from the [official website](https://doc.shengwang.cn/doc/rtc/harmonyos/resources#%E4%B8%8B%E8%BD%BD-sdk) and copy it to `HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
6. Download the har package from the [official website](https://download.agora.io/sdk/release/Agora_Native_SDK_for_HarmonyOS_v4.4.1_FULL.har) and rename`AgoraRtcSdk.har`,then copy it to `HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
7. config the signature information in `build-profile.json5` under the root directory with your own

You are all set. Now connect your HarmonyOS NEXT device and run the project.

Expand Down
3 changes: 2 additions & 1 deletion HarmonyOS_NEXT/APIExample/README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
// 注意:App证书放在客户端不安全,推荐放在服务端以确保 App 证书不会泄露。
export const AppCertificate: String = YOUR APP CERTIFICATE
```
6. 在[官网](https://doc.shengwang.cn/doc/rtc/harmonyos/resources#%E4%B8%8B%E8%BD%BD-sdk)上下载har包,并复制到`HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
6. 在[官网](https://download.agora.io/sdk/release/Agora_Native_SDK_for_HarmonyOS_v4.4.1_FULL.har)上下载har包,重命名`AgoraRtcSdk.har`并复制到`HarmonyOS_NEXT/APIExample/entry/libs/AgoraRtcSdk.har`
7. 在根目录下面的 `build-profile.json5` 文件配置你的签名

然后你就可以编译并运行项目了。

Expand Down
10 changes: 7 additions & 3 deletions HarmonyOS_NEXT/APIExample/build-profile.json5
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"app": {
"signingConfigs": [
],
"signingConfigs": [],
"products": [
{
"name": "default",
"signingConfig": "default",
"compatibleSdkVersion": "4.1.0(11)",
"compatibleSdkVersion": "5.0.0(12)",
"runtimeOS": "HarmonyOS",
"buildOption": {
"strictMode": {
"useNormalizedOHMUrl": true
},
}
}
],
"buildModeSet": [
Expand Down
8 changes: 4 additions & 4 deletions HarmonyOS_NEXT/APIExample/entry/oh-package-lock.json5

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion HarmonyOS_NEXT/APIExample/entry/oh-package.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "",
"license": "",
"dependencies": {
"AgoraRtcSdk": "file:./libs/AgoraRtcSdk.har",
"@shengwang/rtc-full": "file:./libs/AgoraRtcSdk.har",
"librawdataprocessing.so": "file:./src/main/cpp/types/librawdataprocessing"
}
}
Expand Down
4 changes: 2 additions & 2 deletions HarmonyOS_NEXT/APIExample/entry/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ if(DEFINED PACKAGE_FIND_FILE)
endif()

include_directories(${ROOT_PATH}
${ROOT_PATH}/include)
${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@shengwang/rtc-full/include)

set(AGORA_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/AgoraRtcSdk/libs)
set(AGORA_LIB_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules/@shengwang/rtc-full/libs)

add_library(agora_rtc_sdk SHARED IMPORTED)
set_target_properties(agora_rtc_sdk PROPERTIES IMPORTED_LOCATION ${AGORA_LIB_PATH}/${CMAKE_OHOS_ARCH_ABI}/libagora_rtc_sdk.so)
Expand Down

This file was deleted.

Loading
Loading