@cloudflare/realtimekit-react 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
@@ -5847,6 +5847,8 @@ class Pm extends ut {
5847
5847
  break;
5848
5848
  }
5849
5849
  case "outbound-rtp": {
5850
+ if (!this.outboundProducerMap.has(I.id))
5851
+ break;
5850
5852
  const y = I, C = n || this.outboundProducerMap.get(I.id), U = this.pausedProducerMap.get(C);
5851
5853
  if (U) {
5852
5854
  if (U.lastReportCalculated === true)
@@ -5920,6 +5922,8 @@ class Pm extends ut {
5920
5922
  break;
5921
5923
  }
5922
5924
  case "inbound-rtp": {
5925
+ if (!this.inboundConsumerMap.has(I.id))
5926
+ break;
5923
5927
  const y = I, C = n || this.inboundConsumerMap.get(I.id), U = this.pausedConsumerMap.get(C);
5924
5928
  if (U) {
5925
5929
  if (U.lastReportCalculated === true)
@@ -6480,6 +6484,8 @@ class Cm extends Pm {
6480
6484
  break;
6481
6485
  }
6482
6486
  case "outbound-rtp": {
6487
+ if (!this.outboundProducerMap.has(I.id))
6488
+ break;
6483
6489
  const y = I, C = n || this.outboundProducerMap.get(I.id), U = this.pausedProducerMap.get(C);
6484
6490
  if (U) {
6485
6491
  if (U.lastReportCalculated === true)
@@ -6553,6 +6559,8 @@ class Cm extends Pm {
6553
6559
  break;
6554
6560
  }
6555
6561
  case "inbound-rtp": {
6562
+ if (!this.inboundConsumerMap.has(I.id))
6563
+ break;
6556
6564
  const y = I, C = n || this.inboundConsumerMap.get(I.id), U = this.pausedConsumerMap.get(C);
6557
6565
  if (U) {
6558
6566
  if (U.lastReportCalculated === true)
@@ -30488,7 +30496,7 @@ let ti = (Wg = class {
30488
30496
  video: true
30489
30497
  };
30490
30498
  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 || (() => {
30491
- })), 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;
30499
+ })), 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;
30492
30500
  }
30493
30501
  join() {
30494
30502
  return u(this, null, function* () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "1.2.0-staging.3",
3
+ "version": "1.2.0-staging.4",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "private": false,
22
22
  "dependencies": {
23
- "@cloudflare/realtimekit": "1.2.0-staging.3"
23
+ "@cloudflare/realtimekit": "1.2.0-staging.4"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.6"