vdSystemDecorations
info
Added in Scrcpy 3.0
- Type:
boolean - Default value:
true
Controls whether the virtual display should include system decorations (status bar, navigation bar, etc.).
By default, virtual display system decorations are enabled in Scrcpy. Adding this option with a value of true has no effect since this is the default behavior. Only setting this option to false will disable system decorations in the virtual display.
Related options
newDisplay: Creates a new virtual display for video streamingvdDestroyContent: Controls whether the virtual display content is destroyed when the connection is closed
Example
import { ScrcpyOptions3_0, ScrcpyNewDisplay } from "@yume-chan/scrcpy";
const options = new ScrcpyOptions3_0({
newDisplay: new ScrcpyNewDisplay(1920, 1080), // Required for virtual display to be created
vdSystemDecorations: false, // Disable system decorations in virtual display
});