@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.
@@ -68012,7 +68012,7 @@ ${toHex(hashedRequest)}`;
68012
68012
  this.emit('joinWillStart');
68013
68013
  _d.label = 1;
68014
68014
  case 1:
68015
- _d.trys.push([1, 5, , 6]);
68015
+ _d.trys.push([1, 6, , 7]);
68016
68016
  return [4 /*yield*/, this._getVoiceSign(__assign$2(__assign$2({}, options), { roomId: options.roomId || 0 }))];
68017
68017
  case 2:
68018
68018
  _a = _d.sent(), userId = _a.userId, userSig = _a.userSig;
@@ -68056,18 +68056,21 @@ ${toHex(hashedRequest)}`;
68056
68056
  defaultAudioInput = audioInputDevices.find(function (device) { return device.deviceId === 'default'; });
68057
68057
  otherAudioInput = audioInputDevices.find(function (device) { return device.deviceId !== ''; });
68058
68058
  this.audioInput = defaultAudioInput || otherAudioInput;
68059
- return [4 /*yield*/, this.meetingSession.audioVideo.startAudioInput(((_c = this.audioInput) === null || _c === void 0 ? void 0 : _c.deviceId) || 'default')];
68059
+ return [4 /*yield*/, this.meetingSession.audioVideo.stopVideoInput()];
68060
68060
  case 4:
68061
68061
  _d.sent();
68062
- this.meetingSession.audioVideo.start();
68063
- return [3 /*break*/, 6];
68062
+ return [4 /*yield*/, this.meetingSession.audioVideo.startAudioInput(((_c = this.audioInput) === null || _c === void 0 ? void 0 : _c.deviceId) || 'default')];
68064
68063
  case 5:
68064
+ _d.sent();
68065
+ this.meetingSession.audioVideo.start();
68066
+ return [3 /*break*/, 7];
68067
+ case 6:
68065
68068
  e_1 = _d.sent();
68066
68069
  this.emit('error', e_1);
68067
68070
  this.logger.error(e_1.message);
68068
68071
  success(false);
68069
- return [3 /*break*/, 6];
68070
- case 6: return [2 /*return*/];
68072
+ return [3 /*break*/, 7];
68073
+ case 7: return [2 /*return*/];
68071
68074
  }
68072
68075
  });
68073
68076
  }); })];