Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 15c26e9

Browse files
3.3.9
1 parent d1530ec commit 15c26e9

11 files changed

+34
-30
lines changed

Api Reference.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.8
2+
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.9

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
4747
<script src="https://unpkg.com/dynamsoft-camera-enhancer@3/dist/dce.js"></script>
4848
```
4949

50-
> In some rare cases, you might not be able to access the CDN. If this happens, you can use [https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.8/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.8/dist/dce.js)
50+
> In some rare cases, you might not be able to access the CDN. If this happens, you can use [https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.9/dist/dce.js](https://download2.dynamsoft.com/dce/dynamsoft-camera-enhancer-js/dynamsoft-camera-enhancer-js-3.3.9/dist/dce.js)
5151
5252
#### Host the SDK yourself
5353

@@ -57,7 +57,7 @@ The following shows a few ways to download the SDK.
5757

5858
- From the website
5959

60-
[Download the JavaScript Package](https://www.dynamsoft.com/camera-enhancer/downloads/1000021-confirmation/?utm_source=github)
60+
[Download the JavaScript Package](https://www.dynamsoft.com/camera-enhancer/downloads/1000021-confirmation/?utm_source=npm)
6161

6262
- yarn
6363

@@ -74,7 +74,7 @@ The following shows a few ways to download the SDK.
7474
Depending on how you downloaded the SDK and where you put it. You can typically include it like this:
7575

7676
```html
77-
<script src="/dynamsoft-camera-enhancer-js-3.3.8/dist/dce.js"></script>
77+
<script src="/dynamsoft-camera-enhancer-js-3.3.9/dist/dce.js"></script>
7878
```
7979

8080
or
@@ -186,8 +186,8 @@ Dynamsoft.DCE.CameraEnhancer.defaultUIElementURL = "THE-URL-TO-THE-FILE";
186186
```html
187187
<select class="dce-sel-resolution">
188188
<option class="dce-opt-gotResolution" value="got"></option>
189-
<option data-width="1280" data-height="720">1280x720</option>
190-
<option data-width="1920" data-height="1080">1920x1080</option>
189+
<option data-width="1280" data-height="720">ask 1280x720</option>
190+
<option data-width="1920" data-height="1080">ask 1920x1080</option>
191191
</select>
192192
```
193193

dist/dbr.ui.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<select class="dce-sel-camera" style="display:block;"></select>
1818
<select class="dce-sel-resolution" style="display:block;margin-top:5px;">
1919
<option class="dce-opt-gotResolution" value="got"></option>
20-
<option data-width="1920" data-height="1080">1920x1080</option>
21-
<option data-width="1280" data-height="720">1280x720</option>
22-
<option data-width="640" data-height="480">640x480</option>
20+
<option data-width="1920" data-height="1080">ask 1920x1080</option>
21+
<option data-width="1280" data-height="720">ask 1280x720</option>
22+
<option data-width="640" data-height="480">ask 640x480</option>
2323
</select>
2424
</div>
2525
<button class="dce-btn-close" style="position:absolute;right:0;top:0;">

dist/dce.esm.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.mjs

+2-2
Large diffs are not rendered by default.

dist/dce.ui.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<select class="dce-sel-camera" style="display: block;"></select>
1818
<select class="dce-sel-resolution" style="display: block;margin-top: 5px;">
1919
<option class="dce-opt-gotResolution" value="got"></option>
20-
<option data-width="1920" data-height="1080">1920x1080</option>
21-
<option data-width="1280" data-height="720">1280x720</option>
22-
<option data-width="640" data-height="480">640x480</option>
20+
<option data-width="1920" data-height="1080">ask 1920x1080</option>
21+
<option data-width="1280" data-height="720">ask 1280x720</option>
22+
<option data-width="640" data-height="480">ask 640x480</option>
2323
</select>
2424
</div>
2525
<button class="dce-btn-close" style="position:absolute;right:0;top:0;">

dist/dlr.ui.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<select class="dce-sel-camera" style="display:block;"></select>
1010
<select class="dce-sel-resolution" style="display:block;margin-top:5px;">
1111
<option class="dce-opt-gotResolution" value="got"></option>
12-
<option data-width="1920" data-height="1080">1920x1080</option>
13-
<option data-width="1280" data-height="720">1280x720</option>
14-
<option data-width="640" data-height="480">640x480</option>
12+
<option data-width="1920" data-height="1080">ask 1920x1080</option>
13+
<option data-width="1280" data-height="720">ask 1280x720</option>
14+
<option data-width="640" data-height="480">ask 640x480</option>
1515
</select>
1616
<select class="dlr-sel-minletter" style="display:block;margin-top:5px;"></select>
1717
</div>

dist/types/class/cameraenhancer.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ export default class CameraEnhancer implements ImageSource {
202202
* Set src to video element to play static video.
203203
*/
204204
videoSrc: string | MediaStream | MediaSource | Blob;
205+
cameraOpenTimeout: number;
205206
/** @ignore */
206207
videoSettings: MediaStreamConstraints;
207208
private iPlayRound;

package.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dynamsoft-camera-enhancer",
3-
"version": "3.3.8",
3+
"version": "3.3.9",
44
"description": "Allow your website to easily control cameras on desktop and mobile devices.",
55
"private": false,
66
"homepage": "https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/?ver=latest",
@@ -43,16 +43,19 @@
4343
],
4444
"scripts": {
4545
"test": "echo \"Error: no test specified\" && exit 1",
46-
"rollup-dev": "rollup -c --environment BUILD:development",
47-
"rollup": "rollup -c --environment BUILD:production",
48-
"build-dev": "python ./build-dev.py",
49-
"build": "python ./build.py",
46+
"build-dev": "rollup -c --environment BUILD:development",
47+
"build": "rollup -c --environment BUILD:production",
5048
"build:doc": "typedoc",
51-
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto",
49+
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto --branch=3.3.9",
5250
"update:prod": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=production --tag=v3-latest",
5351
"update:beta": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=beta --tag=beta",
5452
"update:iv": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=internalVersion --tag=iv",
55-
"update:dev": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=development --tag=latest"
53+
"update:dev": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=development --tag=latest",
54+
"updateLink:npm": "updateLink --source=npm",
55+
"updateLink:zip": "updateLink --source=zip",
56+
"updateLink:github": "updateLink --source=github",
57+
"makeZip": "makeZip --package=dynamsoft-camera-enhancer --version=auto --sampleBranch=3.x --structure=old",
58+
"easyPublish": "npm run update:dev && npm run build-dev && npm publish"
5659
},
5760
"license": "SEE LICENSE IN LICENSE",
5861
"repository": {
@@ -72,7 +75,7 @@
7275
"devDependencies": {
7376
"@babel/core": "7.15.8",
7477
"@babel/preset-env": "7.15.8",
75-
"@dynamsoft/rd2-scripts": "^0.0.32",
78+
"@dynamsoft/rd2-scripts": "^0.0.78",
7679
"@rollup/plugin-babel": "5.3.0",
7780
"@rollup/plugin-node-resolve": "^13.3.0",
7881
"@rollup/plugin-replace": "3.0.0",

samples.url

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.8
2+
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.9

0 commit comments

Comments
 (0)