Publisher release of the application Scrcpy 4.0, which allows users to mirror their smartphone screen onto a stationary environment to control the device, work remotely in mobile applications using a keyboard and mouse, as well as view video and listen to sound. Client programs are available for smartphone management on Linux, Windows, and macOS. The project code is written in C language with the mobile application in Java and is distributed under the Apache 2.0 license.
The connection between the smartphone and the user environment can be done via USB or TCP/IP. A server application is launched on the smartphone, interacting with the external system through a tunnel organized using the adb utility. Root access to the device is not required. The server application generates a video stream (with options to choose H.264, H.265, or AV1) of the smartphone screen, and the client decodes and displays the video. Keyboard input and mouse events are translated to the server and incorporated into the Android input system.
Main features of Scrcpy include high performance (30~120fps), support for screen resolutions of 1920×1080 and higher, low latency (35~70ms), high startup speed (about a second before the first images are displayed on the screen), audio broadcast, ability to record audio and video, support for mirroring when the smartphone screen is turned off or locked, clipboard with the ability to copy and paste information between a computer and a smartphone, customizable screen broadcast quality, support for using an Android smartphone as a web camera (V4L2), simulation of physically connected keyboard and mouse, gamepad support, ability to use a virtual screen, and OTG mode.