mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 19:42:15 +02:00
refactor(scrcpy): rewrite option classes to improve tree-shaking
This commit is contained in:
parent
db8466f6ee
commit
92472007db
218 changed files with 5412 additions and 2380 deletions
19
libraries/scrcpy/src/1_22/impl/init.ts
Normal file
19
libraries/scrcpy/src/1_22/impl/init.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
import type { PrevImpl } from "./prev.js";
|
||||
|
||||
export interface Init extends PrevImpl.Init {
|
||||
downsizeOnError?: boolean;
|
||||
|
||||
/**
|
||||
* Send device name and size at start of video stream.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
sendDeviceMeta?: boolean;
|
||||
|
||||
/**
|
||||
* Send a `0` byte on start of video stream to detect connection issues
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
sendDummyByte?: boolean;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue