@cloudflare/realtimekit-react 1.2.0-staging.18 → 1.2.0-staging.19
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.cjs.js +2 -2
- package/dist/index.es.js +7 -7
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -22404,16 +22404,16 @@ const Zf = (Hg = class {
|
|
|
22404
22404
|
if (!this.mediaJoined || s === this.self.id)
|
|
22405
22405
|
return;
|
|
22406
22406
|
const r = this.participants.joined.get(s);
|
|
22407
|
-
if (
|
|
22407
|
+
if (!r) {
|
|
22408
|
+
this.logger.warn(`Received media.peerJoinedBroadcast for non-existent peer ${s}`);
|
|
22409
|
+
return;
|
|
22410
|
+
}
|
|
22411
|
+
this.logger.info("PEER_INFO:::SOCKET_ON_MEDIA_JOIN", {
|
|
22408
22412
|
dyteParticipant: {
|
|
22409
22413
|
id: r.id,
|
|
22410
22414
|
maskedName: [...(r == null ? void 0 : r.name) || ""].map((i, a) => a % 2 ? "*" : i).join("")
|
|
22411
22415
|
}
|
|
22412
|
-
}),
|
|
22413
|
-
this.logger.warn(`Received media.peerJoinedBroadcast for non-existent peer ${s}`);
|
|
22414
|
-
return;
|
|
22415
|
-
}
|
|
22416
|
-
this.logger.info(`onParticipantMediaJoined: peer ${s} has joined media room. Processing.`), t.forEach((i) => {
|
|
22416
|
+
}), this.logger.info(`onParticipantMediaJoined: peer ${s} has joined media room. Processing.`), t.forEach((i) => {
|
|
22417
22417
|
i.kind === Fs.AUDIO && !i.screenShare ? r.setAudioEnabled(!i.pause) : i.kind === Fs.VIDEO && !i.screenShare && (r.setVideoEnabled(!i.pause), this.updatePipSource(r.id, !i.pause)), r.producers.push(H(D({}, i), {
|
|
22418
22418
|
producingTransportId: i.producingTransportId,
|
|
22419
22419
|
kind: i.kind === Fs.AUDIO ? "audio" : "video",
|
|
@@ -30478,7 +30478,7 @@ let ti = (Jg = class {
|
|
|
30478
30478
|
video: true
|
|
30479
30479
|
};
|
|
30480
30480
|
return a.setValue("options", e), a.setValue("peerId", t), a.setValue("modules", o), a.setValue("sdkName", "web-core"), a.setValue("meetingId", r), a.setValue("apiBase", i.apiBase), a.setValue("baseURI", i.baseURI), a.setValue("userId", i.participantId), a.setValue("organizationId", i.orgId), a.setValue("authToken", e.authToken), a.setValue("overrides", (d = e.overrides) != null ? d : {}), a.setValue("env", uw({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
|
|
30481
|
-
})), a.setValue("cachedUserDetails", Rs(e.cachedUserDetails)), a.setValue("sdkVersion", "1.2.0-staging.
|
|
30481
|
+
})), a.setValue("cachedUserDetails", Rs(e.cachedUserDetails)), a.setValue("sdkVersion", "1.2.0-staging.19"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new zO()), a;
|
|
30482
30482
|
}
|
|
30483
30483
|
join() {
|
|
30484
30484
|
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
|
+
"version": "1.2.0-staging.19",
|
|
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.
|
|
23
|
+
"@cloudflare/realtimekit": "1.2.0-staging.19"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=16.8.6"
|