@cloudflare/realtimekit 1.2.0-staging.3 → 1.2.0-staging.4

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/index.es.js CHANGED
@@ -5840,6 +5840,8 @@ class Pm extends ut {
5840
5840
  break;
5841
5841
  }
5842
5842
  case "outbound-rtp": {
5843
+ if (!this.outboundProducerMap.has(I.id))
5844
+ break;
5843
5845
  const y = I, C = n || this.outboundProducerMap.get(I.id), U = this.pausedProducerMap.get(C);
5844
5846
  if (U) {
5845
5847
  if (U.lastReportCalculated === true)
@@ -5913,6 +5915,8 @@ class Pm extends ut {
5913
5915
  break;
5914
5916
  }
5915
5917
  case "inbound-rtp": {
5918
+ if (!this.inboundConsumerMap.has(I.id))
5919
+ break;
5916
5920
  const y = I, C = n || this.inboundConsumerMap.get(I.id), U = this.pausedConsumerMap.get(C);
5917
5921
  if (U) {
5918
5922
  if (U.lastReportCalculated === true)
@@ -6473,6 +6477,8 @@ class Cm extends Pm {
6473
6477
  break;
6474
6478
  }
6475
6479
  case "outbound-rtp": {
6480
+ if (!this.outboundProducerMap.has(I.id))
6481
+ break;
6476
6482
  const y = I, C = n || this.outboundProducerMap.get(I.id), U = this.pausedProducerMap.get(C);
6477
6483
  if (U) {
6478
6484
  if (U.lastReportCalculated === true)
@@ -6546,6 +6552,8 @@ class Cm extends Pm {
6546
6552
  break;
6547
6553
  }
6548
6554
  case "inbound-rtp": {
6555
+ if (!this.inboundConsumerMap.has(I.id))
6556
+ break;
6549
6557
  const y = I, C = n || this.inboundConsumerMap.get(I.id), U = this.pausedConsumerMap.get(C);
6550
6558
  if (U) {
6551
6559
  if (U.lastReportCalculated === true)
@@ -30481,7 +30489,7 @@ let ti = (Wg = class {
30481
30489
  video: true
30482
30490
  };
30483
30491
  return n.setValue("options", e), n.setValue("peerId", t), n.setValue("modules", o), n.setValue("sdkName", "web-core"), n.setValue("meetingId", r), n.setValue("apiBase", i.apiBase), n.setValue("baseURI", i.baseURI), n.setValue("userId", i.participantId), n.setValue("organizationId", i.orgId), n.setValue("authToken", e.authToken), n.setValue("overrides", (d = e.overrides) != null ? d : {}), n.setValue("env", PC({ baseURI: i.baseURI })), n.setValue("defaults", c), n.setValue("onError", e.onError || (() => {
30484
- })), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.2.0-staging.3"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30492
+ })), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.2.0-staging.4"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30485
30493
  }
30486
30494
  join() {
30487
30495
  return u(this, null, function* () {