Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Debug

Manav Rathic9601c33c395
diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsx
index bd3339b42b..75ef0827f0 100644
--- a/web/apps/cast/src/pages/slideshow.tsx
+++ b/web/apps/cast/src/pages/slideshow.tsx
@@ -46,6 +46,8 @@ export default function Slideshow() {
};
}, []);
+ log.info("Rendering slideshow", { loading, imageURL, nextImageURL });
+
if (loading) return <PairedSuccessfullyOverlay />;
return <SlideView url={imageURL} nextURL={nextImageURL} />;
diff --git a/web/apps/cast/src/services/pair.ts b/web/apps/cast/src/services/pair.ts
index 987dfd5c91..db8c266a47 100644
--- a/web/apps/cast/src/services/pair.ts
+++ b/web/apps/cast/src/services/pair.ts
@@ -116,9 +116,9 @@ export const advertiseCode = (
const namespace = "urn:x-cast:pair-request";
const options = new cast.framework.CastReceiverOptions();
- options.skipPlayersLoad = true;
+ // options.skipPlayersLoad = true;
// Do not automatically close the connection when the sender disconnects.
- // options.maxInactivity = 3600; /* 1 hour */
+ options.maxInactivity = 3600; /* 1 hour */
// TODO:Is this required? The docs say "(The default type of a message bus
// is JSON; if not provided here)."
options.customNamespaces = Object.assign({});