idmission-web-sdk 1.0.332 → 1.0.334

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.
@@ -50,7 +50,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
50
50
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
51
51
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
52
52
 
53
- var webSdkVersion = '1.0.332';
53
+ var webSdkVersion = '1.0.334';
54
54
 
55
55
  function getPlatform() {
56
56
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -15356,6 +15356,7 @@ var useVideoRecorder = function useVideoRecorder(camera) {
15356
15356
  audioBitsPerSecond: 32000
15357
15357
  });
15358
15358
  mediaRecorder.current.ondataavailable = function (e) {
15359
+ console.log('button_fail 1a');
15359
15360
  videoChunks.current.push(e.data);
15360
15361
  };
15361
15362
  mediaRecorder.current.onstop = function () {
@@ -15374,10 +15375,12 @@ var useVideoRecorder = function useVideoRecorder(camera) {
15374
15375
  mediaRecorder.current.start();
15375
15376
  }, [camera, stream]);
15376
15377
  var stopRecording = React.useCallback(function () {
15377
- var _a;
15378
+ var _a, _b;
15378
15379
  console.log('button_fail 1');
15379
15380
  console.log('button_fail', 'useVideoRecorder:stopRecording');
15380
- (_a = mediaRecorder.current) === null || _a === void 0 ? void 0 : _a.stop();
15381
+ console.log('button_fail', 'mediaRecorder:', mediaRecorder.current);
15382
+ console.log('button_fail', 'mediaRecorder:onstop:', (_a = mediaRecorder.current) === null || _a === void 0 ? void 0 : _a.onstop);
15383
+ (_b = mediaRecorder.current) === null || _b === void 0 ? void 0 : _b.stop();
15381
15384
  }, []);
15382
15385
  return {
15383
15386
  isRecording: isRecording,