Skip to content

Commit b945f01

Browse files
author
zhangwei
committed
doc (android): update readme
1 parent 601d827 commit b945f01

File tree

2 files changed

+12
-51
lines changed

2 files changed

+12
-51
lines changed

Android/APIExample/README.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,14 @@ This project contains third-party beauty integration examples, which cannot be e
4444
without configuring resources and certificates. The resource certificate configuration method is as
4545
follows:
4646
47-
#### SenseTime
47+
#### Agora
4848
49-
1. Contact SenseTime customer service to obtain the download link and certificate of the beauty sdk
50-
2. Unzip the beauty sdk, and copy the following resources to the corresponding path
49+
1. Contact Agora technical support to obtain beauty resources
50+
2. Put the beauty resources in the corresponding path
5151
52-
| SenseTime Beauty SDK Path | Location |
53-
|----------------------------------------------------------------------|----------------------------------------------------------|
54-
| Android/models | app/src/main/assets/beauty_sensetime/models |
55-
| Android/smaple/SenseMeEffects/app/src/main/assets/sticker_face_shape | app/src/main/assets/beauty_sensetime/sticker_face_shape |
56-
| Android/smaple/SenseMeEffects/app/src/main/assets/style_lightly | app/src/main/assets/beauty_sensetime/style_lightly |
57-
| Android/smaple/SenseMeEffects/app/src/main/assets/makeup_lip | app/src/main/assets/beauty_sensetime/makeup_lip |
58-
| SenseME.lic | app/src/main/assets/beauty_sensetime/license/SenseME.lic |
52+
| Agora Beauty Resources | Location |
53+
|------------------------|----------------------------------|
54+
| beauty resources | app/src/main/assets/beauty_agora |
5955
6056
#### FaceUnity
6157
@@ -68,21 +64,6 @@ follows:
6864
| sticker resource(e.g. fashi.bundle) | app/src/main/assets/beauty_faceunity/sticker |
6965
| authpack.java | app/src/main/java/io/agora/api/example/examples/advanced/beauty/authpack.java |
7066
71-
#### ByteDance
72-
73-
1. Contact ByteDance customer service to obtain the download link and certificate of the beauty sdk
74-
2. Unzip the ByteDance beauty resource and copy the following files/directories to the corresponding path
75-
76-
| ByteDance Beauty Resources | Location |
77-
|---------------------------------|--------------------------------------|
78-
| resource/LicenseBag.bundle | app/src/main/assets/beauty_bytedance |
79-
| resource/ModelResource.bundle | app/src/main/assets/beauty_bytedance |
80-
| resource/ComposeMakeup.bundle | app/src/main/assets/beauty_bytedance |
81-
| resource/StickerResource.bundle | app/src/main/assets/beauty_bytedance |
82-
| resource/StickerResource.bundle | app/src/main/assets/beauty_bytedance |
83-
84-
3. Modify the LICENSE_NAME in the app/src/main/java/io/agora/api/example/examples/advanced/beauty/ByteDanceBeauty.java file to the name of the applied certificate file.
85-
8667
8768
### For Agora Extension Developers
8869

Android/APIExample/README.zh.md

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,14 @@
4141
4242
本项目包含第三方美颜集成示例,在没有配置资源和证书的情况下,默认是无法启用的。资源证书配置方法如下:
4343
44-
#### 商汤美颜
44+
#### 声网美颜
4545
46-
1. 联系商汤客服获取美颜sdk下载链接以及证书
47-
2. 解压美颜sdk,并将以下资源复制到对应路径
46+
1. 联系声网技术支持获取美颜资源
47+
2. 将美颜资源放到对应路径下
4848
49-
| 商汤SDK文件/目录 | 项目路径 |
50-
|----------------------------------------------------------------------|----------------------------------------------------------|
51-
| Android/models | app/src/main/assets/beauty_sensetime/models |
52-
| Android/smaple/SenseMeEffects/app/src/main/assets/sticker_face_shape | app/src/main/assets/beauty_sensetime/sticker_face_shape |
53-
| Android/smaple/SenseMeEffects/app/src/main/assets/style_lightly | app/src/main/assets/beauty_sensetime/style_lightly |
54-
| Android/smaple/SenseMeEffects/app/src/main/assets/makeup_lip | app/src/main/assets/beauty_sensetime/makeup_lip |
55-
| SenseME.lic | app/src/main/assets/beauty_sensetime/license/SenseME.lic |
49+
| 美颜资源 | 项目路径 |
50+
|------|----------------------------------|
51+
| 美颜资源 | app/src/main/assets/beauty_agora |
5652
5753
#### 相芯美颜
5854
@@ -65,22 +61,6 @@
6561
| 贴纸资源(如fashi.bundle) | app/src/main/assets/beauty_faceunity/sticker |
6662
| 证书authpack.java | app/src/main/java/io/agora/api/example/examples/advanced/beauty/authpack.java |
6763
68-
#### 字节美颜
69-
70-
1. 联系字节客服获取美颜sdk下载链接以及证书
71-
2. 解压字节/火山美颜资源并复制以下文件/目录到对应路径下
72-
73-
| 字节SDK文件/目录 | 项目路径 |
74-
|--------------------------------------------------|-------------------------------------------------------|
75-
| resource/LicenseBag.bundle | app/src/main/assets/beauty_bytedance |
76-
| resource/ModelResource.bundle | app/src/main/assets/beauty_bytedance |
77-
| resource/ComposeMakeup.bundle | app/src/main/assets/beauty_bytedance |
78-
| resource/StickerResource.bundle | app/src/main/assets/beauty_bytedance |
79-
| resource/StickerResource.bundle | app/src/main/assets/beauty_bytedance |
80-
81-
3.
82-
修改app/src/main/java/io/agora/api/example/examples/advanced/beauty/ByteDanceBeauty.java文件里LICENSE_NAME为申请到的证书文件名
83-
8464
### 对于Agora Extension开发者
8565
8666
从4.0.0SDK开始,Agora SDK支持插件系统和开放的云市场帮助开发者发布自己的音视频插件,本项目包含了一个SimpleFilter示例,默认是禁用的状态,如果需要开启编译和使用需要完成以下步骤:

0 commit comments

Comments
 (0)