@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/index.mjs CHANGED
@@ -1545,7 +1545,7 @@ function DialtribePlayer({
1545
1545
  const playerContent = /* @__PURE__ */ jsxs(
1546
1546
  "div",
1547
1547
  {
1548
- className: `bg-black rounded-lg shadow-2xl w-full max-h-full flex flex-col overflow-hidden ${className}`,
1548
+ className: `bg-black rounded-lg shadow-2xl w-full h-full max-h-full flex flex-col overflow-hidden ${className}`,
1549
1549
  children: [
1550
1550
  /* @__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: [
1551
1551
  /* @__PURE__ */ jsxs("div", { children: [
@@ -1601,7 +1601,7 @@ function DialtribePlayer({
1601
1601
  ) })
1602
1602
  ] }),
1603
1603
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row flex-1 min-h-0 overflow-hidden", children: [
1604
- /* @__PURE__ */ jsxs("div", { className: "shrink-0 md:shrink md:flex-1 flex flex-col overflow-hidden", children: [
1604
+ /* @__PURE__ */ jsxs("div", { className: "min-h-0 md:flex-1 flex flex-col overflow-hidden", children: [
1605
1605
  /* @__PURE__ */ jsxs(
1606
1606
  "div",
1607
1607
  {
@@ -2681,7 +2681,7 @@ function DialtribeOverlay({
2681
2681
  role: "dialog",
2682
2682
  "aria-modal": "true",
2683
2683
  "aria-label": ariaLabel,
2684
- children: /* @__PURE__ */ jsxs("div", { className: `relative w-full overflow-hidden ${styles.container}`, children: [
2684
+ children: /* @__PURE__ */ jsxs("div", { className: `relative w-full h-full flex flex-col ${styles.container}`, children: [
2685
2685
  showCloseButton && /* @__PURE__ */ jsx(
2686
2686
  "button",
2687
2687
  {
@@ -4189,8 +4189,6 @@ function DialtribeStreamer({
4189
4189
  mediaStream,
4190
4190
  isVideo: isVideoKey && isVideoEnabled,
4191
4191
  encoderServerUrl,
4192
- disableCanvasRendering: true,
4193
- // <-- ADD THIS LINE
4194
4192
  onBytesUpdate: setBytesSent,
4195
4193
  onStateChange: (streamerState) => {
4196
4194
  if (streamerState === "live") {