@ekyc_qoobiss/qbs-ect-cmp 3.6.81 → 3.6.82

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.
@@ -4533,13 +4533,13 @@ class Stream {
4533
4533
  video.height = this.videoSize.height;
4534
4534
  }
4535
4535
  dropStream() {
4536
+ if (this.mediaRecorder && this.mediaRecorder.state != 'inactive') {
4537
+ this.mediaRecorder.stop();
4538
+ }
4536
4539
  if (!this.streamStopped()) {
4537
4540
  this.stream.getTracks().forEach((track) => track.stop());
4538
4541
  this.videoElement.srcObject = null;
4539
4542
  }
4540
- if (this.mediaRecorder && this.mediaRecorder.state != 'inactive') {
4541
- this.mediaRecorder.stop();
4542
- }
4543
4543
  }
4544
4544
  streamStopped() {
4545
4545
  return !(this.stream && this.stream.getTracks && this.stream.getTracks().length > 0);
@@ -5252,7 +5252,7 @@ function v4(options, buf, offset) {
5252
5252
  }
5253
5253
 
5254
5254
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5255
- const version$1 = "3.6.81";
5255
+ const version$1 = "3.6.82";
5256
5256
  const description = "Person Identification Component";
5257
5257
  const main = "./dist/index.cjs.js";
5258
5258
  const module$1 = "./dist/index.js";
@@ -147,13 +147,13 @@ export class Stream {
147
147
  video.height = this.videoSize.height;
148
148
  }
149
149
  dropStream() {
150
+ if (this.mediaRecorder && this.mediaRecorder.state != 'inactive') {
151
+ this.mediaRecorder.stop();
152
+ }
150
153
  if (!this.streamStopped()) {
151
154
  this.stream.getTracks().forEach((track) => track.stop());
152
155
  this.videoElement.srcObject = null;
153
156
  }
154
- if (this.mediaRecorder && this.mediaRecorder.state != 'inactive') {
155
- this.mediaRecorder.stop();
156
- }
157
157
  }
158
158
  streamStopped() {
159
159
  return !(this.stream && this.stream.getTracks && this.stream.getTracks().length > 0);
@@ -4529,13 +4529,13 @@ class Stream {
4529
4529
  video.height = this.videoSize.height;
4530
4530
  }
4531
4531
  dropStream() {
4532
+ if (this.mediaRecorder && this.mediaRecorder.state != 'inactive') {
4533
+ this.mediaRecorder.stop();
4534
+ }
4532
4535
  if (!this.streamStopped()) {
4533
4536
  this.stream.getTracks().forEach((track) => track.stop());
4534
4537
  this.videoElement.srcObject = null;
4535
4538
  }
4536
- if (this.mediaRecorder && this.mediaRecorder.state != 'inactive') {
4537
- this.mediaRecorder.stop();
4538
- }
4539
4539
  }
4540
4540
  streamStopped() {
4541
4541
  return !(this.stream && this.stream.getTracks && this.stream.getTracks().length > 0);
@@ -5248,7 +5248,7 @@ function v4(options, buf, offset) {
5248
5248
  }
5249
5249
 
5250
5250
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5251
- const version$1 = "3.6.81";
5251
+ const version$1 = "3.6.82";
5252
5252
  const description = "Person Identification Component";
5253
5253
  const main = "./dist/index.cjs.js";
5254
5254
  const module = "./dist/index.js";