@hivegpt/hiveai-angular 0.0.456 → 0.0.457

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.
@@ -1334,6 +1334,7 @@
1334
1334
  return [4 /*yield*/, callObject.join(joinOptions)];
1335
1335
  case 4:
1336
1336
  _e.sent();
1337
+ console.log("[VoiceDebug] Room connected (Daily join complete) \u2014 " + new Date().toISOString());
1337
1338
  participants = callObject.participants();
1338
1339
  if (participants === null || participants === void 0 ? void 0 : participants.local) {
1339
1340
  this.localSessionId = participants.local.session_id;
@@ -1378,6 +1379,7 @@
1378
1379
  var type = (_a = event === null || event === void 0 ? void 0 : event.type) !== null && _a !== void 0 ? _a : (_b = event === null || event === void 0 ? void 0 : event.track) === null || _b === void 0 ? void 0 : _b.kind;
1379
1380
  var track = event === null || event === void 0 ? void 0 : event.track;
1380
1381
  if (p && !p.local && type === 'audio') {
1382
+ console.log("[VoiceDebug] Got audio track from backend (track-started) \u2014 " + new Date().toISOString());
1381
1383
  _this.speakingSubject.next(true);
1382
1384
  var audioTrack = track !== null && track !== void 0 ? track : (_d = (_c = p.tracks) === null || _c === void 0 ? void 0 : _c.audio) === null || _d === void 0 ? void 0 : _d.track;
1383
1385
  if (audioTrack && typeof audioTrack === 'object') {
@@ -1690,6 +1692,7 @@
1690
1692
  _this.callStateSubject.next('listening');
1691
1693
  }
1692
1694
  else if (bot) {
1695
+ console.log("[VoiceDebug] Agent starts speaking (callState \u2192 talking) \u2014 " + new Date().toISOString());
1693
1696
  _this.callStateSubject.next('talking');
1694
1697
  }
1695
1698
  else if (_this.callStateSubject.value === 'talking' ||
@@ -1698,6 +1701,7 @@
1698
1701
  }
1699
1702
  }));
1700
1703
  this.subscriptions.add(this.dailyClient.micMuted$.subscribe(function (muted) { return _this.isMicMutedSubject.next(muted); }));
1704
+ console.log("[VoiceDebug] Room fully connected (callState \u2192 connected) \u2014 " + new Date().toISOString());
1701
1705
  this.callStateSubject.next('connected');
1702
1706
  this.statusTextSubject.next('Connected');
1703
1707
  this.callStartTime = Date.now();