tencentcloud-webar 1.0.23-3 → 1.0.23-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-esm/542.js +1 -1
- package/build-esm/avatar.js +1 -1
- package/build-esm/avatar.worker.js +2 -2
- package/build-esm/index.js +1 -1
- package/build-esm/sticker3d.js +1 -1
- package/build-esm/sticker3d.worker.js +2 -2
- package/build-umd/avatar.umd.js +3 -3
- package/build-umd/stickers-3d.umd.js +1 -1
- package/build-umd/webar-sdk.umd.js +2 -2
- package/miniprogram_dist/auth.js +1 -1
- package/miniprogram_dist/core.js +1 -1
- package/miniprogram_dist/index.js +1 -1
- package/miniprogram_dist/plugin-3d.js +1 -1
- package/miniprogram_dist/worker/tick.worker.js +1 -1
- package/package.json +1 -1
- package/readme.md +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
const a1h=a1b;(function(a,b){const g=a1b,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a1h=a1b;(function(a,b){const g=a1b,c=a();while(!![]){try{const d=parseInt(g(0x1de))/0x1+-parseInt(g(0x1d3))/0x2+-parseInt(g(0x1d8))/0x3+-parseInt(g(0x1d5))/0x4*(-parseInt(g(0x1d6))/0x5)+-parseInt(g(0x1d4))/0x6+-parseInt(g(0x1dc))/0x7+parseInt(g(0x1dd))/0x8*(parseInt(g(0x1db))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(f){c['push'](c['shift']());}}}(a1a,0x59d1a));let e;worker[a1h(0x1da)](a=>{const i=a1h;i(0x1d7)===a?e=setInterval(()=>{const j=i;worker[j(0x1d9)]({});},0x21):clearInterval(e);});function a1b(a,b){const c=a1a();return a1b=function(d,e){d=d-0x1d3;let f=c[d];return f;},a1b(a,b);}function a1a(){const k=['8iJTcPo','444276NKgnzK','561940IyJYUf','3929352MayYca','4OqXlFQ','736665bFlElp','start','1782147vfmiLq','postMessage','onMessage','15242211PyrImD','2711653LXjgsw'];a1a=function(){return k;};return a1a();}
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[English](#documentation) | [简体中文](#文档)
|
|
2
2
|
# Documentation
|
|
3
|
-
The main function of this SDK is to provide you with fast and secure access to [Web AR Face Filters](https://
|
|
3
|
+
The main function of this SDK is to provide you with fast and secure access to [Web AR Face Filters](https://trtc.io/document/50099?platform=web&product=beautyar), and to use all features.
|
|
4
4
|
|
|
5
5
|
## Process Description
|
|
6
6
|
The SDK implements a concise and non-invasive interface for access. You only need to initialize the instance and add the rendering node to your page to quickly achieve **Web Beauty Effects** functionality.
|
|
@@ -15,20 +15,20 @@ npm install tencentcloud-webar
|
|
|
15
15
|
|
|
16
16
|
## SDK Integration
|
|
17
17
|
We provide two initialization methods: Built-in Camera and Custom Stream.
|
|
18
|
-
- [Built-in Camera and Player](https://
|
|
19
|
-
- [Custom Stream Integration](https://
|
|
18
|
+
- [Built-in Camera and Player](https://trtc.io/document/50101?platform=web&product=beautyar): Utilizes built-in camera and player encapsulation, with simple and rapid invocation.
|
|
19
|
+
- [Custom Stream Integration](https://trtc.io/document/50102?platform=web&product=beautyar): Suitable for scenarios where there is a need to maintain media streams or require higher flexibility and controllability.
|
|
20
20
|
|
|
21
21
|
## Setting Beauty and Effects
|
|
22
|
-
All materials of the SDK are compatible with both WeChat Mini Program and Web, with consistent calling methods. For details, please refer to [Setting Beauty and Effects](https://
|
|
22
|
+
All materials of the SDK are compatible with both WeChat Mini Program and Web, with consistent calling methods. For details, please refer to [Setting Beauty and Effects](https://trtc.io/document/54291?platform=web&product=beautyar).
|
|
23
23
|
|
|
24
24
|
## Using Portrait Segmentation (Virtual Background)
|
|
25
|
-
Achieve virtual background effects with portrait segmentation capability. For details, please refer to [Using Portrait Segmentation (Virtual Background)](https://
|
|
25
|
+
Achieve virtual background effects with portrait segmentation capability. For details, please refer to [Using Portrait Segmentation (Virtual Background)](https://trtc.io/document/50105?platform=web&product=beautyar).
|
|
26
26
|
|
|
27
27
|
## Using Animoji and Virtual Avatars
|
|
28
|
-
Animoji expressions and VR virtual avatar functions. For details, please refer to [Using Expressions and Virtual Avatars](https://
|
|
28
|
+
Animoji expressions and VR virtual avatar functions. For details, please refer to [Using Expressions and Virtual Avatars](https://trtc.io/document/51231?platform=web&product=beautyar).
|
|
29
29
|
|
|
30
30
|
## Parameter and Method Description
|
|
31
|
-
Refer to the [API Documentation](https://
|
|
31
|
+
Refer to the [API Documentation](https://trtc.io/document/50106?platform=web&product=beautyar).
|
|
32
32
|
|
|
33
33
|
## Compatibility
|
|
34
34
|
|
|
@@ -41,10 +41,10 @@ Refer to the [API Documentation](https://www.tencentcloud.com/document/product/1
|
|
|
41
41
|
| WeChat webview | Android/iOS WeChat 8.0.16 and above |
|
|
42
42
|
| WeChat Mini Program | Android/iOS WeChat 8.0.16 and above |
|
|
43
43
|
|
|
44
|
-
For more platform compatibility information, please refer to [Product Overview - Web](https://
|
|
44
|
+
For more platform compatibility information, please refer to [Product Overview - Web](https://trtc.io/document/60216?platform=web&product=beautyar).
|
|
45
45
|
|
|
46
46
|
## Code Examples
|
|
47
|
-
Please refer to [Quick Start](https://
|
|
47
|
+
Please refer to [Quick Start](https://trtc.io/document/53939?platform=web&product=beautyar).
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
# 文档
|