@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/cjs/index.js
CHANGED
|
@@ -42698,6 +42698,7 @@ const recorderMachineV2 = createMachine({
|
|
|
42698
42698
|
}
|
|
42699
42699
|
}),
|
|
42700
42700
|
[SERVICES$2.GET_MEDIA_RECORDER]: (context) => (callback) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42701
|
+
var _c;
|
|
42701
42702
|
const { mediaStream, mimeType, videoBitsPerSecond } = context;
|
|
42702
42703
|
let startTime;
|
|
42703
42704
|
let pausedTime;
|
|
@@ -42752,7 +42753,7 @@ const recorderMachineV2 = createMachine({
|
|
|
42752
42753
|
};
|
|
42753
42754
|
mediaRecorder.start(10000);
|
|
42754
42755
|
callback({ type: EVENTS$6.SET_MEDIA_RECORDER, data: mediaRecorder });
|
|
42755
|
-
emitTrackEvent({ eventType: 'cameraInitialized' });
|
|
42756
|
+
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (_c = context.selectedVideoDevice) === null || _c === void 0 ? void 0 : _c.label } });
|
|
42756
42757
|
if (context.isMicError)
|
|
42757
42758
|
callback(EVENTS$6.PAUSE_MEDIA_RECORDER);
|
|
42758
42759
|
return () => {
|