@snapcall/stream-ui 1.8.0 → 1.8.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.
@@ -1190,7 +1190,7 @@ class $a2f0e3c29b11c88e$export$2e2bcd8739ae039 {
1190
1190
 
1191
1191
 
1192
1192
  const $0148b6fd862a22e8$var$log = new (0, $0f65a9eaf4a1e910$export$2e2bcd8739ae039)("MediaPipe");
1193
- const $0148b6fd862a22e8$var$mediapipeUrl = "https://stream-assets.snapcall.io/v1.8.0";
1193
+ const $0148b6fd862a22e8$var$mediapipeUrl = "https://stream-assets.snapcall.io";
1194
1194
  let $0148b6fd862a22e8$var$selfieSegmentationInitialized = false;
1195
1195
  const $0148b6fd862a22e8$var$selfieSegmentation = new $3Sbms$SelfieSegmentation({
1196
1196
  locateFile: (file, prefix)=>{
@@ -6536,7 +6536,7 @@ const $cdab47bb8796991e$var$Video = ()=>{
6536
6536
  });
6537
6537
  const { streams: streams , highlightedTile: highlightedTile , dispatch: dispatch } = (0, $cce9fd41d8a55a18$export$b5633a7cfbe42d9f)();
6538
6538
  const [containerWidth, containerHeight] = (0, $af23c74942bdcae7$export$2b86bedf890eab8)(remoteTilesContainerRef.current);
6539
- const showInvitation = streams.length < 1 && !highlightedTile && containerWidth > 0;
6539
+ const showInvitation = !options.audioTiles && streams.length < 1 && !highlightedTile && containerWidth > 0;
6540
6540
  (0, $3Sbms$useEffect)(()=>{
6541
6541
  if (options.GDPRDisclaimer) (0, $b8963bf62cf5b984$export$2e2bcd8739ae039)({
6542
6542
  message: "Para mejorar la calidad de nuestro servicio, esta llamada ser\xe1 grabada",
@@ -6574,10 +6574,11 @@ const $cdab47bb8796991e$var$Video = ()=>{
6574
6574
  (0, $3Sbms$useEffect)(()=>{
6575
6575
  if (userInteractionTriggered) {
6576
6576
  if (options.controls?.microphone?.enabled) (0, $c9e496369b59be7a$export$2f377c2162fd02b2).enableMicrophone();
6577
- if (options.controls?.camera?.enabled) (0, $c9e496369b59be7a$export$2f377c2162fd02b2).enableVideo();
6577
+ if (options.controls?.camera?.enabled && !options.audioTiles) (0, $c9e496369b59be7a$export$2f377c2162fd02b2).enableVideo();
6578
6578
  }
6579
6579
  }, [
6580
6580
  options.controls,
6581
+ options.audioTiles,
6581
6582
  userInteractionTriggered
6582
6583
  ]);
6583
6584
  (0, $3Sbms$useEffect)(()=>{
@@ -9095,38 +9096,38 @@ const $d493afe60dcea711$var$backgroundOptions = [
9095
9096
  {
9096
9097
  title: "Blue",
9097
9098
  id: "background-blue",
9098
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/blue_background_icon.png`,
9099
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/blue_background.png`
9099
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/blue_background_icon.png`,
9100
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/blue_background.png`
9100
9101
  },
9101
9102
  {
9102
9103
  title: "Cold",
9103
9104
  id: "background-cold",
9104
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/cold_background_icon.png`,
9105
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/cold_background.png`
9105
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/cold_background_icon.png`,
9106
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/cold_background.png`
9106
9107
  },
9107
9108
  {
9108
9109
  title: "Bricks",
9109
9110
  id: "background-bricks",
9110
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/bricks_background_icon.png`,
9111
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/bricks_background.png`
9111
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/bricks_background_icon.png`,
9112
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/bricks_background.png`
9112
9113
  },
9113
9114
  {
9114
9115
  title: "White",
9115
9116
  id: "background-white",
9116
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/white_background_icon.png`,
9117
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/white_background.png`
9117
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/white_background_icon.png`,
9118
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/white_background.png`
9118
9119
  },
9119
9120
  {
9120
9121
  title: "Yellow",
9121
9122
  id: "background-yellow",
9122
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/yellow_background_icon.png`,
9123
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/yellow_background.png`
9123
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/yellow_background_icon.png`,
9124
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/yellow_background.png`
9124
9125
  },
9125
9126
  {
9126
9127
  title: "Warm",
9127
9128
  id: "background-warm",
9128
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/warm_background_icon.png`,
9129
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/warm_background.png`
9129
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/warm_background_icon.png`,
9130
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/warm_background.png`
9130
9131
  },
9131
9132
  {
9132
9133
  title: "None",
@@ -10024,7 +10025,7 @@ const $15a01b611391c1e7$export$716eeec86fd18da7 = ()=>{
10024
10025
  });
10025
10026
  $15a01b611391c1e7$var$mediaResult = undefined;
10026
10027
  };
10027
- const $15a01b611391c1e7$export$494039379563c94d = async ()=>{
10028
+ const $15a01b611391c1e7$export$494039379563c94d = async (options)=>{
10028
10029
  try {
10029
10030
  const audioObject = new Audio($15a01b611391c1e7$var$audioURL);
10030
10031
  await audioObject.play();
@@ -10032,8 +10033,9 @@ const $15a01b611391c1e7$export$494039379563c94d = async ()=>{
10032
10033
  console.warn("User interaction is required, asking audio GUM");
10033
10034
  $15a01b611391c1e7$var$mediaResult = await navigator.mediaDevices.getUserMedia({
10034
10035
  audio: true,
10035
- video: true
10036
+ video: !options.audioTiles
10036
10037
  });
10038
+ $15a01b611391c1e7$var$mediaResult.getVideoTracks().forEach((track)=>track.stop());
10037
10039
  }
10038
10040
  };
10039
10041
 
@@ -10138,17 +10140,6 @@ const $26ed036cbc17809a$var$StreamUI = ({ options: options })=>{
10138
10140
  const [isBlockedDevicesPopupOpen, setBlockedDevicesPopupOpen] = (0, $3Sbms$useState)(false);
10139
10141
  const orientation = (containerWidth || window.screen.width) > (containerHeight || window.screen.height) ? "landscape" : "portrait";
10140
10142
  const styledTheme = theme === "dark" ? (0, $52580db2e49cdd90$export$3e936a8db52a10a0) : (0, $52580db2e49cdd90$export$f30cb9bc4f736419);
10141
- const onEnterRoom = async (event)=>{
10142
- const peerId = event.detail.peerId;
10143
- setSelfPeerId(peerId);
10144
- try {
10145
- await (0, $15a01b611391c1e7$export$494039379563c94d)();
10146
- setUserInteractionTriggered(true);
10147
- } catch (userInteractionError) {
10148
- setBlockedDevicesPopupOpen(true);
10149
- console.error("User interaction trigger failed", userInteractionError);
10150
- }
10151
- };
10152
10143
  const onWebcamUpdate = (event)=>{
10153
10144
  if (event.type === "localVideoAvailable") setStreaming(true);
10154
10145
  else setStreaming(false);
@@ -10241,7 +10232,6 @@ const $26ed036cbc17809a$var$StreamUI = ({ options: options })=>{
10241
10232
  language
10242
10233
  ]);
10243
10234
  (0, $3Sbms$useEffect)(()=>{
10244
- (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("enterRoom", onEnterRoom);
10245
10235
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("localVideoAvailable", onWebcamUpdate);
10246
10236
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("localVideoUnavailable", onWebcamUpdate);
10247
10237
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("screenshareEnabled", onScreenshareUpdate);
@@ -10257,7 +10247,6 @@ const $26ed036cbc17809a$var$StreamUI = ({ options: options })=>{
10257
10247
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("agentIdentity", onAgentIdentity);
10258
10248
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("criticalError", onCriticalError);
10259
10249
  return ()=>{
10260
- (0, $c9e496369b59be7a$export$2f377c2162fd02b2).removeEventListener("enterRoom", onEnterRoom);
10261
10250
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).removeEventListener("localVideoAvailable", onWebcamUpdate);
10262
10251
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).removeEventListener("localVideoUnavailable", onWebcamUpdate);
10263
10252
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).removeEventListener("screenshareEnabled", onScreenshareUpdate);
@@ -10274,6 +10263,25 @@ const $26ed036cbc17809a$var$StreamUI = ({ options: options })=>{
10274
10263
  (0, $c9e496369b59be7a$export$2f377c2162fd02b2).removeEventListener("criticalError", onCriticalError);
10275
10264
  };
10276
10265
  }, []);
10266
+ (0, $3Sbms$useEffect)(()=>{
10267
+ const onEnterRoom = async (event)=>{
10268
+ const peerId = event.detail.peerId;
10269
+ setSelfPeerId(peerId);
10270
+ try {
10271
+ await (0, $15a01b611391c1e7$export$494039379563c94d)(options);
10272
+ setUserInteractionTriggered(true);
10273
+ } catch (userInteractionError) {
10274
+ setBlockedDevicesPopupOpen(true);
10275
+ console.error("User interaction trigger failed", userInteractionError);
10276
+ }
10277
+ };
10278
+ (0, $c9e496369b59be7a$export$2f377c2162fd02b2).addEventListener("enterRoom", onEnterRoom);
10279
+ return ()=>{
10280
+ (0, $c9e496369b59be7a$export$2f377c2162fd02b2).removeEventListener("enterRoom", onEnterRoom);
10281
+ };
10282
+ }, [
10283
+ options
10284
+ ]);
10277
10285
  return /*#__PURE__*/ (0, $3Sbms$jsx)((0, $5f30d8bf4f04621e$export$2e2bcd8739ae039).Provider, {
10278
10286
  value: {
10279
10287
  selfPeerId: selfPeerId,
@@ -10661,7 +10669,7 @@ const $f8d57e3d223f5089$var$GreetingView = ({ onGreetingDone: onGreetingDone })
10661
10669
  }, []);
10662
10670
  if (joining === true) return /*#__PURE__*/ (0, $3Sbms$jsx)((0, $35c6a4b506b7dc62$export$d4a1a815e49dfefd), {
10663
10671
  children: /*#__PURE__*/ (0, $3Sbms$jsx)("img", {
10664
- src: `${"https://stream-assets.snapcall.io/v1.8.0"}/animations/snapcall-logo-animation.gif`,
10672
+ src: `${"https://stream-assets.snapcall.io"}/animations/snapcall-logo-animation.gif`,
10665
10673
  alt: "Snapcall logo animation",
10666
10674
  height: 40
10667
10675
  })
package/dist/stream-ui.js CHANGED
@@ -1198,7 +1198,7 @@ class $a62e7f17be5cf3a0$export$2e2bcd8739ae039 {
1198
1198
 
1199
1199
 
1200
1200
  const $cb913ea078a876a6$var$log = new (0, $d0c6baf97675ab49$export$2e2bcd8739ae039)("MediaPipe");
1201
- const $cb913ea078a876a6$var$mediapipeUrl = "https://stream-assets.snapcall.io/v1.8.0";
1201
+ const $cb913ea078a876a6$var$mediapipeUrl = "https://stream-assets.snapcall.io";
1202
1202
  let $cb913ea078a876a6$var$selfieSegmentationInitialized = false;
1203
1203
  const $cb913ea078a876a6$var$selfieSegmentation = new $jQDcL$mediapipeselfie_segmentation.SelfieSegmentation({
1204
1204
  locateFile: (file, prefix)=>{
@@ -6544,7 +6544,7 @@ const $88b23a8428e67b66$var$Video = ()=>{
6544
6544
  });
6545
6545
  const { streams: streams , highlightedTile: highlightedTile , dispatch: dispatch } = (0, $3f6e908c45fcc5b3$export$b5633a7cfbe42d9f)();
6546
6546
  const [containerWidth, containerHeight] = (0, $56e1e7a85d8bf4bb$export$2b86bedf890eab8)(remoteTilesContainerRef.current);
6547
- const showInvitation = streams.length < 1 && !highlightedTile && containerWidth > 0;
6547
+ const showInvitation = !options.audioTiles && streams.length < 1 && !highlightedTile && containerWidth > 0;
6548
6548
  (0, $jQDcL$react.useEffect)(()=>{
6549
6549
  if (options.GDPRDisclaimer) (0, $537dcc6df507dc4a$export$2e2bcd8739ae039)({
6550
6550
  message: "Para mejorar la calidad de nuestro servicio, esta llamada ser\xe1 grabada",
@@ -6582,10 +6582,11 @@ const $88b23a8428e67b66$var$Video = ()=>{
6582
6582
  (0, $jQDcL$react.useEffect)(()=>{
6583
6583
  if (userInteractionTriggered) {
6584
6584
  if (options.controls?.microphone?.enabled) (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).enableMicrophone();
6585
- if (options.controls?.camera?.enabled) (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).enableVideo();
6585
+ if (options.controls?.camera?.enabled && !options.audioTiles) (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).enableVideo();
6586
6586
  }
6587
6587
  }, [
6588
6588
  options.controls,
6589
+ options.audioTiles,
6589
6590
  userInteractionTriggered
6590
6591
  ]);
6591
6592
  (0, $jQDcL$react.useEffect)(()=>{
@@ -9103,38 +9104,38 @@ const $8a52c9358bc52b86$var$backgroundOptions = [
9103
9104
  {
9104
9105
  title: "Blue",
9105
9106
  id: "background-blue",
9106
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/blue_background_icon.png`,
9107
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/blue_background.png`
9107
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/blue_background_icon.png`,
9108
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/blue_background.png`
9108
9109
  },
9109
9110
  {
9110
9111
  title: "Cold",
9111
9112
  id: "background-cold",
9112
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/cold_background_icon.png`,
9113
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/cold_background.png`
9113
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/cold_background_icon.png`,
9114
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/cold_background.png`
9114
9115
  },
9115
9116
  {
9116
9117
  title: "Bricks",
9117
9118
  id: "background-bricks",
9118
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/bricks_background_icon.png`,
9119
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/bricks_background.png`
9119
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/bricks_background_icon.png`,
9120
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/bricks_background.png`
9120
9121
  },
9121
9122
  {
9122
9123
  title: "White",
9123
9124
  id: "background-white",
9124
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/white_background_icon.png`,
9125
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/white_background.png`
9125
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/white_background_icon.png`,
9126
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/white_background.png`
9126
9127
  },
9127
9128
  {
9128
9129
  title: "Yellow",
9129
9130
  id: "background-yellow",
9130
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/yellow_background_icon.png`,
9131
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/yellow_background.png`
9131
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/yellow_background_icon.png`,
9132
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/yellow_background.png`
9132
9133
  },
9133
9134
  {
9134
9135
  title: "Warm",
9135
9136
  id: "background-warm",
9136
- iconUrl: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/warm_background_icon.png`,
9137
- value: `${"https://stream-assets.snapcall.io/v1.8.0"}/backgrounds/warm_background.png`
9137
+ iconUrl: `${"https://stream-assets.snapcall.io"}/backgrounds/warm_background_icon.png`,
9138
+ value: `${"https://stream-assets.snapcall.io"}/backgrounds/warm_background.png`
9138
9139
  },
9139
9140
  {
9140
9141
  title: "None",
@@ -10032,7 +10033,7 @@ const $c3d5253d9d597eb5$export$716eeec86fd18da7 = ()=>{
10032
10033
  });
10033
10034
  $c3d5253d9d597eb5$var$mediaResult = undefined;
10034
10035
  };
10035
- const $c3d5253d9d597eb5$export$494039379563c94d = async ()=>{
10036
+ const $c3d5253d9d597eb5$export$494039379563c94d = async (options)=>{
10036
10037
  try {
10037
10038
  const audioObject = new Audio($c3d5253d9d597eb5$var$audioURL);
10038
10039
  await audioObject.play();
@@ -10040,8 +10041,9 @@ const $c3d5253d9d597eb5$export$494039379563c94d = async ()=>{
10040
10041
  console.warn("User interaction is required, asking audio GUM");
10041
10042
  $c3d5253d9d597eb5$var$mediaResult = await navigator.mediaDevices.getUserMedia({
10042
10043
  audio: true,
10043
- video: true
10044
+ video: !options.audioTiles
10044
10045
  });
10046
+ $c3d5253d9d597eb5$var$mediaResult.getVideoTracks().forEach((track)=>track.stop());
10045
10047
  }
10046
10048
  };
10047
10049
 
@@ -10146,17 +10148,6 @@ const $ee8cb448c2c74888$var$StreamUI = ({ options: options })=>{
10146
10148
  const [isBlockedDevicesPopupOpen, setBlockedDevicesPopupOpen] = (0, $jQDcL$react.useState)(false);
10147
10149
  const orientation = (containerWidth || window.screen.width) > (containerHeight || window.screen.height) ? "landscape" : "portrait";
10148
10150
  const styledTheme = theme === "dark" ? (0, $9295e87e6b93e693$export$3e936a8db52a10a0) : (0, $9295e87e6b93e693$export$f30cb9bc4f736419);
10149
- const onEnterRoom = async (event)=>{
10150
- const peerId = event.detail.peerId;
10151
- setSelfPeerId(peerId);
10152
- try {
10153
- await (0, $c3d5253d9d597eb5$export$494039379563c94d)();
10154
- setUserInteractionTriggered(true);
10155
- } catch (userInteractionError) {
10156
- setBlockedDevicesPopupOpen(true);
10157
- console.error("User interaction trigger failed", userInteractionError);
10158
- }
10159
- };
10160
10151
  const onWebcamUpdate = (event)=>{
10161
10152
  if (event.type === "localVideoAvailable") setStreaming(true);
10162
10153
  else setStreaming(false);
@@ -10249,7 +10240,6 @@ const $ee8cb448c2c74888$var$StreamUI = ({ options: options })=>{
10249
10240
  language
10250
10241
  ]);
10251
10242
  (0, $jQDcL$react.useEffect)(()=>{
10252
- (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("enterRoom", onEnterRoom);
10253
10243
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("localVideoAvailable", onWebcamUpdate);
10254
10244
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("localVideoUnavailable", onWebcamUpdate);
10255
10245
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("screenshareEnabled", onScreenshareUpdate);
@@ -10265,7 +10255,6 @@ const $ee8cb448c2c74888$var$StreamUI = ({ options: options })=>{
10265
10255
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("agentIdentity", onAgentIdentity);
10266
10256
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("criticalError", onCriticalError);
10267
10257
  return ()=>{
10268
- (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).removeEventListener("enterRoom", onEnterRoom);
10269
10258
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).removeEventListener("localVideoAvailable", onWebcamUpdate);
10270
10259
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).removeEventListener("localVideoUnavailable", onWebcamUpdate);
10271
10260
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).removeEventListener("screenshareEnabled", onScreenshareUpdate);
@@ -10282,6 +10271,25 @@ const $ee8cb448c2c74888$var$StreamUI = ({ options: options })=>{
10282
10271
  (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).removeEventListener("criticalError", onCriticalError);
10283
10272
  };
10284
10273
  }, []);
10274
+ (0, $jQDcL$react.useEffect)(()=>{
10275
+ const onEnterRoom = async (event)=>{
10276
+ const peerId = event.detail.peerId;
10277
+ setSelfPeerId(peerId);
10278
+ try {
10279
+ await (0, $c3d5253d9d597eb5$export$494039379563c94d)(options);
10280
+ setUserInteractionTriggered(true);
10281
+ } catch (userInteractionError) {
10282
+ setBlockedDevicesPopupOpen(true);
10283
+ console.error("User interaction trigger failed", userInteractionError);
10284
+ }
10285
+ };
10286
+ (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).addEventListener("enterRoom", onEnterRoom);
10287
+ return ()=>{
10288
+ (0, $c48c1ecc38fed4e9$export$2f377c2162fd02b2).removeEventListener("enterRoom", onEnterRoom);
10289
+ };
10290
+ }, [
10291
+ options
10292
+ ]);
10285
10293
  return /*#__PURE__*/ (0, $jQDcL$reactjsxruntime.jsx)((0, $8b39f32976a7698a$export$2e2bcd8739ae039).Provider, {
10286
10294
  value: {
10287
10295
  selfPeerId: selfPeerId,
@@ -10669,7 +10677,7 @@ const $3305ca02e86dabd1$var$GreetingView = ({ onGreetingDone: onGreetingDone })
10669
10677
  }, []);
10670
10678
  if (joining === true) return /*#__PURE__*/ (0, $jQDcL$reactjsxruntime.jsx)((0, $5fd6e456b33aeaa7$export$d4a1a815e49dfefd), {
10671
10679
  children: /*#__PURE__*/ (0, $jQDcL$reactjsxruntime.jsx)("img", {
10672
- src: `${"https://stream-assets.snapcall.io/v1.8.0"}/animations/snapcall-logo-animation.gif`,
10680
+ src: `${"https://stream-assets.snapcall.io"}/animations/snapcall-logo-animation.gif`,
10673
10681
  alt: "Snapcall logo animation",
10674
10682
  height: 40
10675
10683
  })