@yume-chan/scrcpy
Version:
TypeScript implementation of Scrcpy.
47 lines • 1.9 kB
TypeScript
import type { ScrcpyOptionsInit2_0 } from "./2_0.js";
import { ScrcpyOptions } from "./types.js";
export interface ScrcpyOptionsInit2_1 extends ScrcpyOptionsInit2_0 {
video?: boolean;
audioSource?: "output" | "mic";
}
export declare class ScrcpyOptions2_1 extends ScrcpyOptions<ScrcpyOptionsInit2_1> {
static readonly DEFAULTS: {
readonly video: true;
readonly audioSource: "output";
readonly scid: import("./2_0.js").ScrcpyInstanceId;
readonly videoCodec: "h264";
readonly videoBitRate: 8000000;
readonly videoCodecOptions: import("./index.js").CodecOptions;
readonly videoEncoder: undefined;
readonly audio: true;
readonly audioCodec: "opus";
readonly audioBitRate: 128000;
readonly audioCodecOptions: import("./index.js").CodecOptions;
readonly audioEncoder: undefined;
readonly listEncoders: false;
readonly listDisplays: false;
readonly sendCodecMeta: true;
readonly logLevel: import("./1_18.js").ScrcpyLogLevel1_18.Debug;
readonly maxSize: 0;
readonly maxFps: 0;
readonly lockVideoOrientation: import("./1_18.js").ScrcpyVideoOrientation1_18.Unlocked;
readonly tunnelForward: false;
readonly crop: undefined;
readonly sendFrameMeta: true;
readonly control: true;
readonly displayId: 0;
readonly showTouches: false;
readonly stayAwake: false;
readonly powerOffOnClose: false;
readonly clipboardAutosync: true;
readonly downsizeOnError: true;
readonly sendDeviceMeta: true;
readonly sendDummyByte: true;
readonly cleanup: true;
readonly powerOn: true;
};
get defaults(): Required<ScrcpyOptionsInit2_1>;
constructor(init: ScrcpyOptionsInit2_1);
serialize(): string[];
}
//# sourceMappingURL=2_1.d.ts.map