Detect USB device disconnection
The device disconnection is detected when the video socket closes. In order to introduce an OTG mode (HID events) without mirroring (and without server), we must be able to detect USB device disconnection. This feature will only be used in OTG mode. PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
R
Romain Vimont committed
1a03206e36b6065b421b3e7635a48211cdf0ce4a
Parent: 37987b8