Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
103.02k stars 10.01k forks source link

Websocket changes sync with latest version 2.4 #4859

Closed gauravBansal06 closed 4 weeks ago

gauravBansal06 commented 1 month ago

This is to merge websocket changes done here NetrisTV/scrcpy to the latest version of Genymobile/scrcpy i.e 2.4 in order to support android 15

Need thorough testing as it is not tested yet fully.

rom1v commented 4 weeks ago

Not for this repo I guess.

gauravBansal06 commented 4 weeks ago

yes @rom1v . I didn't intended to merge here. Raised this to test websocket changes with latest scrcpy version.

However, there is 1 issue: With these changes (using virtualDisplay in place of SurfaceControl Display in ScreenEncoder.java file), I am able to make websocket connection and stream the android 15 beta screen using this repo and setup. But I am unable to interact with the device mirrored screen (on localhost:2800 -> hex264 live convertor.) Is it only intended to mirror and no interactions? Any help here will be appreciated. Also @drauggres : if you can check this once and let me know if any specific change need to be done for interactions or am I doing something wrong here. This will be of great help. Thanks!