scrcpy
scrcpy copied to clipboard
Turn on the torch
- [x] I have checked that a similar feature request does not already exist.
Is your feature request related to a problem? Please describe. I tried to turn on the torch while using srccpy to display my camera. But Android doesn't allow to turn on the torch, because the camera is "in use".
srccpr should have a flag that allows to turn on the torch
https://developer.android.com/reference/android/hardware/camera2/CameraManager#setTorchMode(java.lang.String,%20boolean)
I guess we should bind a shortcut to switch the torch on/off when video source is camera.
PR welcome.
I'd like flashlight option present in the scrcpy. Currently there is no way to enable flashlight when camera is used by scrcpy.