Skip to content

Commit 6650f66

Browse files
authored
Merge pull request #445 from AgoraIO/dev/450_update_h_file
[Android] update readme
2 parents b9ed8cd + 0901151 commit 6650f66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6170
-3147
lines changed

Android/APIExample/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ Since version 4.0.0, Agora SDK provides an Extension Interface Framework. Develo
9090
In order to enable it, you could do as follows:
9191
9292
1. Download [opencv](https://agora-adc-artifacts.s3.cn-north-1.amazonaws.com.cn/androidLibs/opencv4.zip) library, unzip it and copy into Android/APIExample/agora-simple-filter/src/main/jniLibs
93-
2. Download [Agora SDK包](https://doc.shengwang.cn/doc/rtc/android/resources), unzip it and copy c++ .so library (keeps arch folder) to Android/APIExample/agora-simple-filter/src/main/agoraLibs
93+
```text
94+
Android/APIExample/agora-simple-filter/src/main/jniLibs
95+
├── arm64-v8a
96+
└── armeabi-v7a
97+
```
98+
2. Download [Agora SDK RESOURCE](https://docs.agora.io/en/sdks?platform=android), unzip it and copy c++ .so library (keeps arch folder) to Android/APIExample/agora-simple-filter/src/main/agoraLibs; Replace the low_level_api/include .h files in the Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit directory.
9499

95100
```text
96101
Android/APIExample/agora-simple-filter/src/main/agoraLibs
@@ -99,6 +104,10 @@ Android/APIExample/agora-simple-filter/src/main/agoraLibs
99104
├── x86
100105
└── x86_64
101106
```
107+
```text
108+
Android/APIExample/agora-simple-filter/src/main/cpp
109+
└── AgoraRtcKit
110+
```
102111

103112
3. Modify simpleFilter to true in Android/APIExample/gradle.properties
104113

@@ -107,7 +116,7 @@ Android/APIExample/agora-simple-filter/src/main/agoraLibs
107116
This project contains custom stream encrypt examples, which cannot be enabled by default.
108117
The configuration method is as follows:
109118

110-
1. Download [Agora SDK包](https://doc.shengwang.cn/doc/rtc/android/resources), unzip it and copy c++ .so library (keeps arch folder) to Android/APIExample/agora-stream-encrypt/src/main/agoraLibs
119+
1. Download [Agora SDK RESOURCE](https://docs.agora.io/en/sdks?platform=android), unzip it and copy c++ .so library (keeps arch folder) to Android/APIExample/agora-stream-encrypt/src/main/agoraLibs; Replace the hight_level_api/include .h files in the Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora directory.
111120

112121
```text
113122
Android/APIExample/agora-stream-encrypt/src/main/agoraLibs
@@ -116,6 +125,11 @@ Android/APIExample/agora-stream-encrypt/src/main/agoraLibs
116125
├── x86
117126
└── x86_64
118127
```
128+
```text
129+
Android/APIExample/agora-stream-encrypt/src/main/cpp
130+
└── include
131+
└── agora
132+
```
119133

120134
2. Modify streamEncrypt to true in Android/APIExample/gradle.properties
121135

Android/APIExample/README.zh.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@
8686
从4.0.0SDK开始,Agora SDK支持插件系统和开放的云市场帮助开发者发布自己的音视频插件,本项目包含了一个SimpleFilter示例,默认是禁用的状态,如果需要开启编译和使用需要完成以下步骤:
8787
8888
1. 下载 [opencv](https://agora-adc-artifacts.s3.cn-north-1.amazonaws.com.cn/androidLibs/opencv4.zip) 解压后复制到 Android/APIExample/agora-simple-filter/src/main/jniLibs
89-
2. 手动下载[Agora SDK包](https://doc.shengwang.cn/doc/rtc/android/resources), 解压后将c++动态库(包括架构文件夹)copy到Android/APIExample/agora-simple-filter/src/main/agoraLibs
89+
```text
90+
Android/APIExample/agora-simple-filter/src/main/jniLibs
91+
├── arm64-v8a
92+
└── armeabi-v7a
93+
```
94+
2. 手动下载[Agora SDK包](https://doc.shengwang.cn/doc/rtc/android/resources), 解压后将c++动态库(包括架构文件夹)copy到Android/APIExample/agora-simple-filter/src/main/agoraLibs, 将 low_level_api/include 头文件替换到 Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit 目录中
9095

9196
```text
9297
Android/APIExample/agora-simple-filter/src/main/agoraLibs
@@ -95,14 +100,18 @@ Android/APIExample/agora-simple-filter/src/main/agoraLibs
95100
├── x86
96101
└── x86_64
97102
```
103+
```text
104+
Android/APIExample/agora-simple-filter/src/main/cpp
105+
└── AgoraRtcKit
106+
```
98107

99108
3. 修改Android/APIExample/gradle.properties配置文件中simpleFilter值为true
100109

101110
### 自定义加密
102111

103112
本项目包含自定义加密示例,默认是不启用的。配置方法如下:
104113

105-
1. 手动下载[Agora SDK包](https://doc.shengwang.cn/doc/rtc/android/resources), 解压后将c++动态库(包括架构文件夹)copy到Android/APIExample/agora-stream-encrypt/src/main/agoraLibs
114+
1. 手动下载[Agora SDK包](https://doc.shengwang.cn/doc/rtc/android/resources), 解压后将c++动态库(包括架构文件夹)copy到Android/APIExample/agora-stream-encrypt/src/main/agoraLibs,将 hight_level_api/include 头文件替换到 Android/APIExample/agora-stream-encrypt/src/main/cpp/include/agora 目录中
106115

107116
```text
108117
Android/APIExample/agora-stream-encrypt/src/main/agoraLibs
@@ -111,6 +120,11 @@ Android/APIExample/agora-stream-encrypt/src/main/agoraLibs
111120
├── x86
112121
└── x86_64
113122
```
123+
```text
124+
Android/APIExample/agora-stream-encrypt/src/main/cpp
125+
└── include
126+
└── agora
127+
```
114128

115129
2. 修改Android/APIExample/gradle.properties配置文件中streamEncrypt值为true
116130

0 commit comments

Comments
 (0)