@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
package/dist/realsee-live.esm.js
CHANGED
|
@@ -672,7 +672,7 @@ var BrowserRTC4Chime = /** @class */ (function (_super) {
|
|
|
672
672
|
this.emit('joinWillStart');
|
|
673
673
|
_d.label = 1;
|
|
674
674
|
case 1:
|
|
675
|
-
_d.trys.push([1,
|
|
675
|
+
_d.trys.push([1, 6, , 7]);
|
|
676
676
|
return [4 /*yield*/, this._getVoiceSign(__assign$1(__assign$1({}, options), { roomId: options.roomId || 0 }))];
|
|
677
677
|
case 2:
|
|
678
678
|
_a = _d.sent(), userId = _a.userId, userSig = _a.userSig;
|
|
@@ -716,18 +716,21 @@ var BrowserRTC4Chime = /** @class */ (function (_super) {
|
|
|
716
716
|
defaultAudioInput = audioInputDevices.find(function (device) { return device.deviceId === 'default'; });
|
|
717
717
|
otherAudioInput = audioInputDevices.find(function (device) { return device.deviceId !== ''; });
|
|
718
718
|
this.audioInput = defaultAudioInput || otherAudioInput;
|
|
719
|
-
return [4 /*yield*/, this.meetingSession.audioVideo.
|
|
719
|
+
return [4 /*yield*/, this.meetingSession.audioVideo.stopVideoInput()];
|
|
720
720
|
case 4:
|
|
721
721
|
_d.sent();
|
|
722
|
-
this.meetingSession.audioVideo.
|
|
723
|
-
return [3 /*break*/, 6];
|
|
722
|
+
return [4 /*yield*/, this.meetingSession.audioVideo.startAudioInput(((_c = this.audioInput) === null || _c === void 0 ? void 0 : _c.deviceId) || 'default')];
|
|
724
723
|
case 5:
|
|
724
|
+
_d.sent();
|
|
725
|
+
this.meetingSession.audioVideo.start();
|
|
726
|
+
return [3 /*break*/, 7];
|
|
727
|
+
case 6:
|
|
725
728
|
e_1 = _d.sent();
|
|
726
729
|
this.emit('error', e_1);
|
|
727
730
|
this.logger.error(e_1.message);
|
|
728
731
|
success(false);
|
|
729
|
-
return [3 /*break*/,
|
|
730
|
-
case
|
|
732
|
+
return [3 /*break*/, 7];
|
|
733
|
+
case 7: return [2 /*return*/];
|
|
731
734
|
}
|
|
732
735
|
});
|
|
733
736
|
}); })];
|