@cloudflare/realtimekit 1.1.7-staging.4 → 1.1.7-staging.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/index.es.js CHANGED
@@ -26320,19 +26320,19 @@ class lD {
26320
26320
  const r = {
26321
26321
  requests: [],
26322
26322
  consumingTransportId: this.recvTransport.serverId
26323
- };
26324
- t.forEach(({ id: i, producingTransportId: n, localId: o }) => {
26323
+ }, i = t.filter((n) => n && n.id);
26324
+ i.forEach(({ id: n, producingTransportId: o, localId: c }) => {
26325
26325
  r.requests.push({
26326
- producerId: i,
26327
- producingTransportId: n,
26328
- mid: o,
26326
+ producerId: n,
26327
+ producingTransportId: o,
26328
+ mid: c,
26329
26329
  simulcast: {
26330
26330
  preferredRid: e === 0 ? "q" : "h",
26331
26331
  priorityOrdering: "asciibetical",
26332
26332
  ridNotAvailable: "asciibetical"
26333
26333
  }
26334
26334
  });
26335
- }), yield this.socketHandler.updateConsumersSimulcastConfig(r), a(this, ts).info(`Consumers switched layers to ${e}`, { consumerIds: t == null ? void 0 : t.map(({ id: i }) => i) });
26335
+ }), yield this.socketHandler.updateConsumersSimulcastConfig(r), a(this, ts).info(`Consumers switched layers to ${e}`, { consumerIds: i == null ? void 0 : i.map(({ id: n }) => n) });
26336
26336
  });
26337
26337
  }
26338
26338
  }
@@ -30502,7 +30502,7 @@ let ri = (Wg = class {
30502
30502
  video: true
30503
30503
  };
30504
30504
  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 || (() => {
30505
- })), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.7-staging.4"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30505
+ })), n.setValue("cachedUserDetails", _s(e.cachedUserDetails)), n.setValue("sdkVersion", "3.1.7-staging.5"), (l = e.modules) != null && l.experimentalAudioPlayback && n.setValue("audioPlayback", new oO()), n;
30506
30506
  }
30507
30507
  join() {
30508
30508
  return u(this, null, function* () {