@ekyc_qoobiss/qbs-ect-cmp 3.6.23 → 3.6.24

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.
@@ -4892,6 +4892,9 @@ class Stream {
4892
4892
  if (this.stream)
4893
4893
  this.stream.getTracks().forEach((track) => track.stop());
4894
4894
  this.stream = stream;
4895
+ if (!this.videoElement || this.videoElement == null) {
4896
+ return;
4897
+ }
4895
4898
  if ('srcObject' in this.videoElement) {
4896
4899
  this.videoElement.srcObject = stream;
4897
4900
  }
@@ -5361,7 +5364,7 @@ class Cameras {
5361
5364
  }
5362
5365
  GetConstraints(selectedDeviceId, device, portrait = false) {
5363
5366
  let constraints = {
5364
- audio: false,
5367
+ audio: true,
5365
5368
  };
5366
5369
  let mediaTrack = {
5367
5370
  frameRate: 30,
@@ -5827,7 +5830,7 @@ function v4(options, buf, offset) {
5827
5830
  }
5828
5831
 
5829
5832
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5830
- const version$1 = "3.6.23";
5833
+ const version$1 = "3.6.24";
5831
5834
  const description = "Person Identification Component";
5832
5835
  const main = "./dist/index.cjs.js";
5833
5836
  const module$1 = "./dist/index.js";
@@ -66,7 +66,7 @@ export class Cameras {
66
66
  }
67
67
  GetConstraints(selectedDeviceId, device, portrait = false) {
68
68
  let constraints = {
69
- audio: false,
69
+ audio: true,
70
70
  };
71
71
  let mediaTrack = {
72
72
  frameRate: 30,
@@ -91,6 +91,9 @@ export class Stream {
91
91
  if (this.stream)
92
92
  this.stream.getTracks().forEach((track) => track.stop());
93
93
  this.stream = stream;
94
+ if (!this.videoElement || this.videoElement == null) {
95
+ return;
96
+ }
94
97
  if ('srcObject' in this.videoElement) {
95
98
  this.videoElement.srcObject = stream;
96
99
  }
@@ -4888,6 +4888,9 @@ class Stream {
4888
4888
  if (this.stream)
4889
4889
  this.stream.getTracks().forEach((track) => track.stop());
4890
4890
  this.stream = stream;
4891
+ if (!this.videoElement || this.videoElement == null) {
4892
+ return;
4893
+ }
4891
4894
  if ('srcObject' in this.videoElement) {
4892
4895
  this.videoElement.srcObject = stream;
4893
4896
  }
@@ -5357,7 +5360,7 @@ class Cameras {
5357
5360
  }
5358
5361
  GetConstraints(selectedDeviceId, device, portrait = false) {
5359
5362
  let constraints = {
5360
- audio: false,
5363
+ audio: true,
5361
5364
  };
5362
5365
  let mediaTrack = {
5363
5366
  frameRate: 30,
@@ -5823,7 +5826,7 @@ function v4(options, buf, offset) {
5823
5826
  }
5824
5827
 
5825
5828
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5826
- const version$1 = "3.6.23";
5829
+ const version$1 = "3.6.24";
5827
5830
  const description = "Person Identification Component";
5828
5831
  const main = "./dist/index.cjs.js";
5829
5832
  const module = "./dist/index.js";