π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
feat: disable cast idle timeout
httpjamesm9337c1497af9
diff --git a/apps/cast/src/pages/slideshow.tsx b/apps/cast/src/pages/slideshow.tsxindex a7f32e8172..da111628a9 100644--- a/apps/cast/src/pages/slideshow.tsx+++ b/apps/cast/src/pages/slideshow.tsx@@ -7,6 +7,7 @@ import { getCollection } from 'services/collectionService';import { syncFiles } from 'services/fileService';import { EnteFile } from 'types/file';import { downloadFileAsBlob, isRawFileFromFileName } from 'utils/file';+import { useCastSender } from '@ente/shared/hooks/useCastSender';export const SlideshowContext = createContext<{showNextSlide: () => void;@@ -26,7 +27,17 @@ export default function Slideshow() {Record<string, string>>({});+ const { cast } = useCastSender();+const init = async () => {+ const options = new cast.framework.CastReceiverOptions();++ options.disableIdleTimeout = true;++ const context = cast.framework.CastReceiverContext.getInstance();++ context.start(options);+try {// get requested collection id from localStorageconst requestedCollectionID =