From a156062d8022e0e7536c6b2fb8dfd24cf7c3400c Mon Sep 17 00:00:00 2001 From: gxz Date: Thu, 7 Sep 2023 16:30:19 +0800 Subject: [PATCH] chore: optimize --- .../src/renderer/examples/hook/ScreenShare/ScreenShare.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/src/renderer/examples/hook/ScreenShare/ScreenShare.tsx b/example/src/renderer/examples/hook/ScreenShare/ScreenShare.tsx index 5495c753b..20eebe486 100644 --- a/example/src/renderer/examples/hook/ScreenShare/ScreenShare.tsx +++ b/example/src/renderer/examples/hook/ScreenShare/ScreenShare.tsx @@ -102,8 +102,8 @@ export default function ScreenShare() { */ const getScreenCaptureSources = useCallback(() => { const sources = engine.current.getScreenCaptureSources( - { width: 0, height: 0 }, - { width: 0, height: 0 }, + { width: 1920, height: 1080 }, + { width: 64, height: 64 }, true ); setSources(sources);