mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-31 13:18:51 +00:00
Add scrcpy window without video playback
Add the possibility to solely control the device without screen mirroring: scrcpy --no-video --no-audio This is different from OTG mode, which does not require USB debugging at all. Here, the standard mode is used but with the possibility to disable video playback. By default, always open a window (even without video playback), and add an option --no-window. Fixes #4727 <https://github.com/Genymobile/scrcpy/issues/4727> Fixes #4793 <https://github.com/Genymobile/scrcpy/issues/4793> PR #4868 <https://github.com/Genymobile/scrcpy/pull/4868>
This commit is contained in:
parent
cca2c9ffb7
commit
45fe6b602b
10 changed files with 243 additions and 65 deletions
|
@ -279,6 +279,7 @@ struct scrcpy_options {
|
|||
#define SC_OPTION_LIST_CAMERAS 0x4
|
||||
#define SC_OPTION_LIST_CAMERA_SIZES 0x8
|
||||
uint8_t list;
|
||||
bool window;
|
||||
};
|
||||
|
||||
extern const struct scrcpy_options scrcpy_options_default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue