From 0efb0742f98b98aaf2a0915b26eade3f2c22485b Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:48:51 +0100 Subject: [PATCH] fix: Web recorder on tab change performance improvements --- .../windows/inner/callbackTemplate.ts | 2 +- .../src/utils/auth/callback.template.ts | 2 +- apps/web/app/api/video/metadata/route.ts | 60 ++++++ apps/web/app/record/Record.tsx | 204 ++++++++++-------- apps/web/utils/video/upload/helpers.ts | 1 - packages/utils/src/helpers.ts | 38 ++-- 6 files changed, 196 insertions(+), 111 deletions(-) create mode 100644 apps/web/app/api/video/metadata/route.ts diff --git a/apps/desktop/src/components/windows/inner/callbackTemplate.ts b/apps/desktop/src/components/windows/inner/callbackTemplate.ts index 0f1df435..0aefd895 100644 --- a/apps/desktop/src/components/windows/inner/callbackTemplate.ts +++ b/apps/desktop/src/components/windows/inner/callbackTemplate.ts @@ -8,7 +8,7 @@ export default ` -