Skip to content

Commit e150bd4

Browse files
Merge pull request #405 from dynamsoft-docs/preview
update to internal commit d766e71f
2 parents 1cc595c + 0fe12d3 commit e150bd4

File tree

4 files changed

+59
-3
lines changed

4 files changed

+59
-3
lines changed

_includes/sidelist-programming/programming-javascript.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,11 @@
16691669
>Why isn't my webcam reading the barcode on my driver's license or ID card?</a
16701670
>
16711671
</li>
1672+
<li>
1673+
<a href="{{ site.js }}faq/system-requirement.html"
1674+
>What are the system requirements for running the latest version of Dynamsoft Barcode Reader?</a
1675+
>
1676+
</li>
16721677
</ul>
16731678
</li>
16741679
<li lang="javascript"><a href="{{ site.license_activation }}index.html" class="otherLinkColour">License Initialization</a></li>

programming/javascript/faq/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ noTitleIndex: true
8484
37. [How to Reduce Duplicate Scans and Optimize Scan Usage?](remove-duplicates.html)
8585

8686
38. [Why isn't my webcam reading the barcode on my driver's license or ID card?](webcam-support-dense.md)
87+
88+
39. [What are the system requirements for running the latest version of Dynamsoft Barcode Reader?](system-requirement.md)
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
layout: default-layout
3+
title: What are the system requirements for running the latest version of Dynamsoft Barcode Reader?
4+
keywords: Dynamsoft Barcode Reader, FAQ, JavaScript, system, requirement
5+
description: The system requirements for running the latest version of Dynamsoft Barcode Reader?
6+
needAutoGenerateSidebar: false
7+
---
8+
9+
# What are the system requirements for running the latest version of Dynamsoft Barcode Reader?
10+
11+
[<< Back to FAQ index](index.md)
12+
13+
## System Requirements
14+
15+
The latest version of DBR requires the following features to work:
16+
17+
- Secure context (HTTPS deployment)
18+
19+
When deploying your application / website for production, make sure to serve it via a secure HTTPS connection. This is required for two reasons
20+
21+
- Access to the camera video stream is only granted in a security context. Most browsers impose this restriction.
22+
> Some browsers like Chrome may grant the access for `http://127.0.0.1` and `http://localhost` or even for pages opened directly from the local disk (`file:///...`). This can be helpful for temporary development and test.
23+
24+
- Dynamsoft License requires a secure context to work.
25+
26+
- `WebAssembly`, `Blob`, `URL`/`createObjectURL`, `Web Workers`
27+
28+
The above four features are required for the SDK to work.
29+
30+
- `MediaDevices`/`getUserMedia`
31+
32+
This API is required for in-browser video streaming.
33+
34+
- `getSettings`
35+
36+
This API inspects the video input which is a `MediaStreamTrack` object about its constrainable properties.
37+
38+
The following table is a list of supported browsers based on the above requirements:
39+
40+
| Browser Name | Version |
41+
| :----------: | :--------------: |
42+
| Chrome | v78+<sup>1</sup> |
43+
| Firefox | v68+<sup>1</sup> |
44+
| Edge | v79+ |
45+
| Safari | v14+ |
46+
47+
<sup>1</sup> devices running iOS needs to be on iOS 14.3+ for camera video streaming to work in Chrome, Firefox or other Apps using webviews.
48+
49+
Apart from the browsers, the operating systems may impose some limitations of their own that could restrict the use of the SDK. Browser compatibility ultimately depends on whether the browser on that particular operating system supports the features listed above.

programming/javascript/user-guide/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In this guide, you will learn step by step on how to integrate the DBR-JS SDK in
4141
- [Option 2: Host the SDK yourself (optional)](#option-2-host-the-sdk-yourself-optional)
4242
- [Step 2: Prepare the SDK](#step-2-prepare-the-sdk)
4343
- [1. Specify the license](#1-specify-the-license)
44-
- [2. \[Optiona\] Specify the location of the "engine" files](#2-optiona-specify-the-location-of-the-engine-files)
44+
- [2. \[Optional\] Specify the location of the "engine" files](#2-optional-specify-the-location-of-the-engine-files)
4545
- [Using the SDK](#using-the-sdk)
4646
- [Step 1: Preload the module](#step-1-preload-the-module)
4747
- [Step 2: Create a CaptureVisionRouter object](#step-2-create-a-capturevisionrouter-object)
@@ -90,7 +90,7 @@ Let's start with the "Hello World" example of the DBR-JS SDK which demonstrates
9090

9191
**Basic Requirements**
9292
- Internet connection
93-
- [A supported browser](#system-requirements)
93+
- A supported browser
9494
- Camera access
9595

9696
### Understand the code
@@ -307,7 +307,7 @@ As previously stated, the key "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" serves
307307
308308
> Upon registering a Dynamsoft account and obtaining the SDK package from the official website, Dynamsoft will automatically create a 30-day free trial license and embed the corresponding license key into all the provided SDK samples.
309309
310-
#### 2. [Optiona] Specify the location of the "engine" files
310+
#### 2. [Optional] Specify the location of the "engine" files
311311
312312
This is usually only required with frameworks like Angular, React or Vue.
313313

0 commit comments

Comments
 (0)