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

Commit

Permalink
3.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
DMGithubPublisher committed Dec 6, 2023
1 parent d1530ec commit 15c26e9
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Api Reference.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[InternetShortcut]
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.8
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=3.3.9
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde
<script src="https://unpkg.com/dynamsoft-camera-enhancer@3/dist/dce.js"></script>
```

> 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)
> 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)
#### Host the SDK yourself

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

- From the website

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

- yarn

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

```html
<script src="/dynamsoft-camera-enhancer-js-3.3.8/dist/dce.js"></script>
<script src="/dynamsoft-camera-enhancer-js-3.3.9/dist/dce.js"></script>
```

or
Expand Down Expand Up @@ -186,8 +186,8 @@ Dynamsoft.DCE.CameraEnhancer.defaultUIElementURL = "THE-URL-TO-THE-FILE";
```html
<select class="dce-sel-resolution">
<option class="dce-opt-gotResolution" value="got"></option>
<option data-width="1280" data-height="720">1280x720</option>
<option data-width="1920" data-height="1080">1920x1080</option>
<option data-width="1280" data-height="720">ask 1280x720</option>
<option data-width="1920" data-height="1080">ask 1920x1080</option>
</select>
```

Expand Down
6 changes: 3 additions & 3 deletions dist/dbr.ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<select class="dce-sel-camera" style="display:block;"></select>
<select class="dce-sel-resolution" style="display:block;margin-top:5px;">
<option class="dce-opt-gotResolution" value="got"></option>
<option data-width="1920" data-height="1080">1920x1080</option>
<option data-width="1280" data-height="720">1280x720</option>
<option data-width="640" data-height="480">640x480</option>
<option data-width="1920" data-height="1080">ask 1920x1080</option>
<option data-width="1280" data-height="720">ask 1280x720</option>
<option data-width="640" data-height="480">ask 640x480</option>
</select>
</div>
<button class="dce-btn-close" style="position:absolute;right:0;top:0;">
Expand Down
4 changes: 2 additions & 2 deletions dist/dce.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dce.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/dce.mjs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/dce.ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<select class="dce-sel-camera" style="display: block;"></select>
<select class="dce-sel-resolution" style="display: block;margin-top: 5px;">
<option class="dce-opt-gotResolution" value="got"></option>
<option data-width="1920" data-height="1080">1920x1080</option>
<option data-width="1280" data-height="720">1280x720</option>
<option data-width="640" data-height="480">640x480</option>
<option data-width="1920" data-height="1080">ask 1920x1080</option>
<option data-width="1280" data-height="720">ask 1280x720</option>
<option data-width="640" data-height="480">ask 640x480</option>
</select>
</div>
<button class="dce-btn-close" style="position:absolute;right:0;top:0;">
Expand Down
6 changes: 3 additions & 3 deletions dist/dlr.ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<select class="dce-sel-camera" style="display:block;"></select>
<select class="dce-sel-resolution" style="display:block;margin-top:5px;">
<option class="dce-opt-gotResolution" value="got"></option>
<option data-width="1920" data-height="1080">1920x1080</option>
<option data-width="1280" data-height="720">1280x720</option>
<option data-width="640" data-height="480">640x480</option>
<option data-width="1920" data-height="1080">ask 1920x1080</option>
<option data-width="1280" data-height="720">ask 1280x720</option>
<option data-width="640" data-height="480">ask 640x480</option>
</select>
<select class="dlr-sel-minletter" style="display:block;margin-top:5px;"></select>
</div>
Expand Down
1 change: 1 addition & 0 deletions dist/types/class/cameraenhancer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export default class CameraEnhancer implements ImageSource {
* Set src to video element to play static video.
*/
videoSrc: string | MediaStream | MediaSource | Blob;
cameraOpenTimeout: number;
/** @ignore */
videoSettings: MediaStreamConstraints;
private iPlayRound;
Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dynamsoft-camera-enhancer",
"version": "3.3.8",
"version": "3.3.9",
"description": "Allow your website to easily control cameras on desktop and mobile devices.",
"private": false,
"homepage": "https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/?ver=latest",
Expand Down Expand Up @@ -43,16 +43,19 @@
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"rollup-dev": "rollup -c --environment BUILD:development",
"rollup": "rollup -c --environment BUILD:production",
"build-dev": "python ./build-dev.py",
"build": "python ./build.py",
"build-dev": "rollup -c --environment BUILD:development",
"build": "rollup -c --environment BUILD:production",
"build:doc": "typedoc",
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto",
"update:readme": "updateReadme --package=dynamsoft-camera-enhancer --version=auto --branch=3.3.9",
"update:prod": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=production --tag=v3-latest",
"update:beta": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=beta --tag=beta",
"update:iv": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=internalVersion --tag=iv",
"update:dev": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=development --tag=latest"
"update:dev": "updatePackage --package=dynamsoft-camera-enhancer --version=auto --env=development --tag=latest",
"updateLink:npm": "updateLink --source=npm",
"updateLink:zip": "updateLink --source=zip",
"updateLink:github": "updateLink --source=github",
"makeZip": "makeZip --package=dynamsoft-camera-enhancer --version=auto --sampleBranch=3.x --structure=old",
"easyPublish": "npm run update:dev && npm run build-dev && npm publish"
},
"license": "SEE LICENSE IN LICENSE",
"repository": {
Expand All @@ -72,7 +75,7 @@
"devDependencies": {
"@babel/core": "7.15.8",
"@babel/preset-env": "7.15.8",
"@dynamsoft/rd2-scripts": "^0.0.32",
"@dynamsoft/rd2-scripts": "^0.0.78",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion samples.url
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[InternetShortcut]
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.8
URL=https://github.com/Dynamsoft/camera-enhancer-javascript-samples/tree/v3.3.9

0 comments on commit 15c26e9

Please sign in to comment.