@myinterview/widget-react 1.1.19-development-a9c2cad → 1.1.19-development-5f5d622
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/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -42672,6 +42672,7 @@ const recorderMachineV2 = createMachine({
|
|
|
42672
42672
|
}
|
|
42673
42673
|
}),
|
|
42674
42674
|
[SERVICES$2.GET_MEDIA_RECORDER]: (context) => (callback) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42675
|
+
var _c;
|
|
42675
42676
|
const { mediaStream, mimeType, videoBitsPerSecond } = context;
|
|
42676
42677
|
let startTime;
|
|
42677
42678
|
let pausedTime;
|
|
@@ -42726,7 +42727,7 @@ const recorderMachineV2 = createMachine({
|
|
|
42726
42727
|
};
|
|
42727
42728
|
mediaRecorder.start(10000);
|
|
42728
42729
|
callback({ type: EVENTS$6.SET_MEDIA_RECORDER, data: mediaRecorder });
|
|
42729
|
-
emitTrackEvent({ eventType: 'cameraInitialized' });
|
|
42730
|
+
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (_c = context.selectedVideoDevice) === null || _c === void 0 ? void 0 : _c.label } });
|
|
42730
42731
|
if (context.isMicError)
|
|
42731
42732
|
callback(EVENTS$6.PAUSE_MEDIA_RECORDER);
|
|
42732
42733
|
return () => {
|