@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/index.js CHANGED
@@ -3,7 +3,7 @@ import { useState, useRef, useCallback, useEffect, forwardRef, useImperativeHand
3
3
  import { useMutation, isCancelledError } from '@tanstack/react-query';
4
4
  import { noop } from '@bigbinary/neeto-cist';
5
5
  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';
6
- import { screenRecorder, useMultipartS3UploadStatus, getMultipartS3Uploader } from '@bigbinary/neeto-media-recorder/core';
6
+ import { screenRecorder, useMultipartS3UploadStatus, getMultipartS3Uploader, getFastTitleRunner } from '@bigbinary/neeto-media-recorder/core';
7
7
  import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
8
8
  import Alert from '@bigbinary/neetoui/Alert';
9
9
  import { Trans, useTranslation } from 'react-i18next';
@@ -2164,6 +2164,9 @@ var MediaRecorder$1 = function MediaRecorder(_ref, ref) {
2164
2164
  uploadId = _ref3.uploadId;
2165
2165
  var multipartS3Uploader = getMultipartS3Uploader();
2166
2166
  multipartS3Uploader.setRecording(recording.id, uploadId);
2167
+ // The opening audio is already being captured; this is the id it uploads
2168
+ // under once its window closes.
2169
+ getFastTitleRunner().setRecordingId(recording.id);
2167
2170
  multipartS3Uploader.setMimeType(mimeType);
2168
2171
  var uploadStatus = multipartS3Uploader.status;
2169
2172
  var recorderStatus = useRecorderStore.getState().status;