Add option to turn on the camera torch

Add --camera-torch to turn on the camera torch when the camera starts.

PR #6243 <https://github.com/Genymobile/scrcpy/pull/6243>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Tommie 2025-07-20 11:50:16 -04:00 committed by Romain Vimont
parent 968f178205
commit 553813e97d
11 changed files with 37 additions and 0 deletions

View file

@ -68,6 +68,7 @@ struct sc_server_params {
bool power_on;
bool kill_adb_on_close;
bool camera_high_speed;
bool camera_torch;
bool vd_destroy_content;
bool vd_system_decorations;
uint8_t list;