@realsee/live 0.5.4 → 0.5.5
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/realsee-live.cjs.development.js +9 -6
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +9 -6
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +9 -6
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/docs/classes/BrowserRTC4Chime.html +5 -5
- package/package.json +1 -1
|
@@ -681,7 +681,7 @@ var BrowserRTC4Chime = /** @class */ (function (_super) {
|
|
|
681
681
|
this.emit('joinWillStart');
|
|
682
682
|
_d.label = 1;
|
|
683
683
|
case 1:
|
|
684
|
-
_d.trys.push([1,
|
|
684
|
+
_d.trys.push([1, 6, , 7]);
|
|
685
685
|
return [4 /*yield*/, this._getVoiceSign(__assign$1(__assign$1({}, options), { roomId: options.roomId || 0 }))];
|
|
686
686
|
case 2:
|
|
687
687
|
_a = _d.sent(), userId = _a.userId, userSig = _a.userSig;
|
|
@@ -725,18 +725,21 @@ var BrowserRTC4Chime = /** @class */ (function (_super) {
|
|
|
725
725
|
defaultAudioInput = audioInputDevices.find(function (device) { return device.deviceId === 'default'; });
|
|
726
726
|
otherAudioInput = audioInputDevices.find(function (device) { return device.deviceId !== ''; });
|
|
727
727
|
this.audioInput = defaultAudioInput || otherAudioInput;
|
|
728
|
-
return [4 /*yield*/, this.meetingSession.audioVideo.
|
|
728
|
+
return [4 /*yield*/, this.meetingSession.audioVideo.stopVideoInput()];
|
|
729
729
|
case 4:
|
|
730
730
|
_d.sent();
|
|
731
|
-
this.meetingSession.audioVideo.
|
|
732
|
-
return [3 /*break*/, 6];
|
|
731
|
+
return [4 /*yield*/, this.meetingSession.audioVideo.startAudioInput(((_c = this.audioInput) === null || _c === void 0 ? void 0 : _c.deviceId) || 'default')];
|
|
733
732
|
case 5:
|
|
733
|
+
_d.sent();
|
|
734
|
+
this.meetingSession.audioVideo.start();
|
|
735
|
+
return [3 /*break*/, 7];
|
|
736
|
+
case 6:
|
|
734
737
|
e_1 = _d.sent();
|
|
735
738
|
this.emit('error', e_1);
|
|
736
739
|
this.logger.error(e_1.message);
|
|
737
740
|
success(false);
|
|
738
|
-
return [3 /*break*/,
|
|
739
|
-
case
|
|
741
|
+
return [3 /*break*/, 7];
|
|
742
|
+
case 7: return [2 /*return*/];
|
|
740
743
|
}
|
|
741
744
|
});
|
|
742
745
|
}); })];
|