Skip to content

Commit

Permalink
fix(demo): disable default args for Scrcpy
Browse files Browse the repository at this point in the history
Fixes #485
  • Loading branch information
yume-chan committed Feb 2, 2023
1 parent c26990c commit 0046c76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/demo/src/components/scrcpy/state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ export class ScrcpyPageState {
codecOptions.value.level = decoder.maxLevel;
}

// Disabled due to https://github.com/Genymobile/scrcpy/issues/2841
// Less recording delay
codecOptions.value.iFrameInterval = 1;
// codecOptions.value.iFrameInterval = 1;
// Less latency
codecOptions.value.intraRefreshPeriod = 10000;
// codecOptions.value.intraRefreshPeriod = 10000;

const options = new AdbScrcpyOptions1_22(
new ScrcpyOptions1_25({
Expand Down

1 comment on commit 0046c76

@vercel
Copy link

@vercel vercel bot commented on 0046c76 Feb 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ya-webadb – ./

ya-webadb-git-main-yume-chan.vercel.app
ya-webadb.vercel.app
ya-webadb-yume-chan.vercel.app

Please sign in to comment.