@dialtribe/react-sdk 0.1.7 → 0.1.9
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/dialtribe-player.js +3 -3
- package/dist/dialtribe-player.js.map +1 -1
- package/dist/dialtribe-player.mjs +3 -3
- package/dist/dialtribe-player.mjs.map +1 -1
- package/dist/dialtribe-streamer.js +3 -5
- package/dist/dialtribe-streamer.js.map +1 -1
- package/dist/dialtribe-streamer.mjs +3 -5
- package/dist/dialtribe-streamer.mjs.map +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -2083,8 +2083,6 @@ function DialtribeStreamer({
|
|
|
2083
2083
|
mediaStream,
|
|
2084
2084
|
isVideo: isVideoKey && isVideoEnabled,
|
|
2085
2085
|
encoderServerUrl,
|
|
2086
|
-
disableCanvasRendering: true,
|
|
2087
|
-
// <-- ADD THIS LINE
|
|
2088
2086
|
onBytesUpdate: setBytesSent,
|
|
2089
2087
|
onStateChange: (streamerState) => {
|
|
2090
2088
|
if (streamerState === "live") {
|
|
@@ -3425,7 +3423,7 @@ function DialtribePlayer({
|
|
|
3425
3423
|
const playerContent = /* @__PURE__ */ jsxs(
|
|
3426
3424
|
"div",
|
|
3427
3425
|
{
|
|
3428
|
-
className: `bg-black rounded-lg shadow-2xl w-full max-h-full flex flex-col overflow-hidden ${className}`,
|
|
3426
|
+
className: `bg-black rounded-lg shadow-2xl w-full h-full max-h-full flex flex-col overflow-hidden ${className}`,
|
|
3429
3427
|
children: [
|
|
3430
3428
|
/* @__PURE__ */ jsxs("div", { className: "bg-zinc-900/50 backdrop-blur-sm border-b border-zinc-800 px-3 sm:px-4 md:px-6 py-2 sm:py-3 md:py-4 flex justify-between items-center rounded-t-lg shrink-0", children: [
|
|
3431
3429
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -3481,7 +3479,7 @@ function DialtribePlayer({
|
|
|
3481
3479
|
) })
|
|
3482
3480
|
] }),
|
|
3483
3481
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row flex-1 min-h-0 overflow-hidden", children: [
|
|
3484
|
-
/* @__PURE__ */ jsxs("div", { className: "
|
|
3482
|
+
/* @__PURE__ */ jsxs("div", { className: "min-h-0 md:flex-1 flex flex-col overflow-hidden", children: [
|
|
3485
3483
|
/* @__PURE__ */ jsxs(
|
|
3486
3484
|
"div",
|
|
3487
3485
|
{
|
|
@@ -4561,7 +4559,7 @@ function DialtribeOverlay({
|
|
|
4561
4559
|
role: "dialog",
|
|
4562
4560
|
"aria-modal": "true",
|
|
4563
4561
|
"aria-label": ariaLabel,
|
|
4564
|
-
children: /* @__PURE__ */ jsxs("div", { className: `relative w-full
|
|
4562
|
+
children: /* @__PURE__ */ jsxs("div", { className: `relative w-full h-full flex flex-col ${styles.container}`, children: [
|
|
4565
4563
|
showCloseButton && /* @__PURE__ */ jsx(
|
|
4566
4564
|
"button",
|
|
4567
4565
|
{
|