@cloudflare/realtimekit 1.2.1-staging.8 → 1.2.2-staging.1
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/EncryptionManager.d.ts +1 -0
- package/dist/browser.js +2 -2
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +8 -7
- package/dist/index.es5.js +2 -2
- package/dist/index.rn.js +2 -2
- package/dist/ts3.4/dist/EncryptionManager.d.ts +1 -0
- package/dist/ts3.4/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -6350,8 +6350,8 @@ const Qh = class extends qt {
|
|
|
6350
6350
|
n(this, gt) !== void 0 && this.paintCanvas(), n(this, zs) !== void 0 && f(this, zs, requestAnimationFrame(() => this.animate()));
|
|
6351
6351
|
});
|
|
6352
6352
|
/**
|
|
6353
|
-
|
|
6354
|
-
|
|
6353
|
+
* Disable PiP
|
|
6354
|
+
*/
|
|
6355
6355
|
h(this, "disable", (e = !1) => {
|
|
6356
6356
|
f(this, Ys, "idle"), this.cleanupEventListeners(), cancelAnimationFrame(n(this, zs)), e !== !0 && document.body.removeChild(n(this, st)), f(this, zs, void 0), document.pictureInPictureElement && document.exitPictureInPicture();
|
|
6357
6357
|
});
|
|
@@ -6476,7 +6476,7 @@ const Qh = class extends qt {
|
|
|
6476
6476
|
o - c * 2
|
|
6477
6477
|
), l += o + c, S.restore();
|
|
6478
6478
|
};
|
|
6479
|
-
e.pinned && g(n(this, Vn)), e.handRaised && g(n(this, Ln));
|
|
6479
|
+
e.pinned && g(n(this, Vn)), e.handRaised && g(n(this, Ln)), e.reaction && g(e.reaction);
|
|
6480
6480
|
}
|
|
6481
6481
|
drawTile(e, r, i) {
|
|
6482
6482
|
var l, p;
|
|
@@ -6623,7 +6623,8 @@ const Qh = class extends qt {
|
|
|
6623
6623
|
this.logger.info("Pip::UpdateSource", {
|
|
6624
6624
|
pip: {
|
|
6625
6625
|
id: e,
|
|
6626
|
-
handRaised: r.handRaised
|
|
6626
|
+
handRaised: r.handRaised,
|
|
6627
|
+
reaction: r.reaction
|
|
6627
6628
|
}
|
|
6628
6629
|
});
|
|
6629
6630
|
const i = n(this, gt)[e];
|
|
@@ -6652,8 +6653,8 @@ const Qh = class extends qt {
|
|
|
6652
6653
|
f(this, gt, {});
|
|
6653
6654
|
}
|
|
6654
6655
|
/**
|
|
6655
|
-
|
|
6656
|
-
|
|
6656
|
+
* Enable PiP
|
|
6657
|
+
*/
|
|
6657
6658
|
enable() {
|
|
6658
6659
|
f(this, Ys, "activating"), this.setupEventListeners(), this.updateMediaSession("CAMERA", n(this, De).videoEnabled), this.updateMediaSession("MIC", n(this, De).audioEnabled), document.body.appendChild(n(this, st)), f(this, zs, requestAnimationFrame(() => this.animate())), n(this, zt).onloadedmetadata = () => {
|
|
6659
6660
|
n(this, zt).requestPictureInPicture().then(() => {
|
|
@@ -28405,7 +28406,7 @@ let ti = (Kg = class {
|
|
|
28405
28406
|
video: !0
|
|
28406
28407
|
};
|
|
28407
28408
|
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", lw({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
|
|
28408
|
-
})), a.setValue("cachedUserDetails", Rs(e.cachedUserDetails)), a.setValue("sdkVersion", "1.2.
|
|
28409
|
+
})), a.setValue("cachedUserDetails", Rs(e.cachedUserDetails)), a.setValue("sdkVersion", "1.2.2-staging.1"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new YO()), a;
|
|
28409
28410
|
}
|
|
28410
28411
|
join() {
|
|
28411
28412
|
return u(this, null, function* () {
|
package/dist/index.es5.js
CHANGED
|
@@ -5963,7 +5963,7 @@ var Hh = 1080, Bh = 1920, LP = function(t, e, r, n, a, i) {
|
|
|
5963
5963
|
var y = l(s, Kr)[Kr].getContext("2d");
|
|
5964
5964
|
y.save(), y.fillStyle = l(s, st)[st].background, y.beginPath(), y.moveTo(p + d, v), y.arcTo(p + u, v, p + u, v + d, d), y.arcTo(p + u, v + u, p + u - d, v + u, d), y.arcTo(p, v + u, p, v + u - d, d), y.arcTo(p, v, p + d, v, d), y.closePath(), y.fill(), typeof k == "string" ? (y.font = "".concat(u / 1.5, "px sans-serif"), y.fillStyle = l(s, st)[st].text, y.textAlign = "center", y.textBaseline = "top", y.fillText(k, u / 2 + p, v + c)) : y.drawImage(k, p + c, v + c, u - c * 2, u - c * 2), p += u + c, y.restore();
|
|
5965
5965
|
};
|
|
5966
|
-
r.pinned && f(l(this, ss)[ss]), r.handRaised && f(l(this, os)[os]);
|
|
5966
|
+
r.pinned && f(l(this, ss)[ss]), r.handRaised && f(l(this, os)[os]), r.reaction && f(r.reaction);
|
|
5967
5967
|
} }, { key: "drawTile", value: function(r, n, a) {
|
|
5968
5968
|
if (l(this, Kr)[Kr] !== void 0)
|
|
5969
5969
|
for (var i = l(this, Kr)[Kr].getContext("2d"), s = this.getSources(), u = 0, c = 0; u < l(this, Se)[Se].height - 5; ) {
|
|
@@ -6097,7 +6097,7 @@ var Hh = 1080, Bh = 1920, LP = function(t, e, r, n, a, i) {
|
|
|
6097
6097
|
}, {
|
|
6098
6098
|
key: "updateSource",
|
|
6099
6099
|
value: function(r, n) {
|
|
6100
|
-
this.logger.info("Pip::UpdateSource", { pip: { id: r, handRaised: n.handRaised } });
|
|
6100
|
+
this.logger.info("Pip::UpdateSource", { pip: { id: r, handRaised: n.handRaised, reaction: n.reaction } });
|
|
6101
6101
|
var a = l(this, fr)[fr][r];
|
|
6102
6102
|
a && (l(this, fr)[fr][r] = N(N({}, a), n));
|
|
6103
6103
|
}
|