@bigbinary/neeto-media-recorder 2.7.51 → 2.7.54

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-media-recorder",
3
- "version": "2.7.51",
3
+ "version": "2.7.54",
4
4
  "description": "A package to simplify the media capturing process",
5
5
  "repository": "git@github.com:bigbinary/neeto-media-recorder.git",
6
6
  "license": "MIT",
package/v2/index.js CHANGED
@@ -4,7 +4,7 @@ import { Toastr, Typography, Spinner, Callout, Button, Progress, Alert } from '@
4
4
  import { useMutation, isCancelledError } from '@tanstack/react-query';
5
5
  import { noop } from '@bigbinary/neeto-cist';
6
6
  import { ONE_SECOND_IN_MILLISECONDS as ONE_SECOND_IN_MILLISECONDS$1, SCREEN_RECORDER_STATUS, UPLOAD_STATUS as UPLOAD_STATUS$1, MIME_TYPE as MIME_TYPE$1, IS_EXTENSION as IS_EXTENSION$1, ONE_MINUTE_IN_MILLISECONDS as ONE_MINUTE_IN_MILLISECONDS$1, SCREEN_RECORDER_ERROR, IS_SAFARI_EXTENSION, COUNTDOWN_TIME, MIC_NOT_WORKING_SILENCE_TIMEOUT, SCREEN_RECORDER_EVENT, UPLOAD_EVENT } from '@bigbinary/neeto-media-recorder/constants';
7
- import { screenRecorder, useMultipartS3UploadStatus, getMultipartS3Uploader } from '@bigbinary/neeto-media-recorder/core';
7
+ import { screenRecorder, useMultipartS3UploadStatus, getMultipartS3Uploader, getFastTitleRunner } from '@bigbinary/neeto-media-recorder/core';
8
8
  import PageLoader from '@bigbinary/neeto-molecules/v2/PageLoader';
9
9
  import { Trans, useTranslation } from 'react-i18next';
10
10
  import platform from 'platform';
@@ -2149,6 +2149,9 @@ var MediaRecorder$1 = function MediaRecorder(_ref, ref) {
2149
2149
  var multipartS3Uploader = getMultipartS3Uploader();
2150
2150
  multipartS3Uploader.setRecording(recording.id, uploadId);
2151
2151
  multipartS3Uploader.setMimeType(mimeType);
2152
+ // The opening audio is already being captured; this is the id it uploads
2153
+ // under once its window closes.
2154
+ getFastTitleRunner().setRecordingId(recording.id);
2152
2155
  var uploadStatus = multipartS3Uploader.status;
2153
2156
  var recorderStatus = useRecorderStore.getState().status;
2154
2157
  if (uploadStatus === UPLOAD_STATUS$1.uploading || isRetryUpload) {