wsvn53 / scrcpy-mobile

Ported scrcpy for mobile platforms, to remotely control Android devices on your iPhone or Android phone.
MIT License
550 stars 32 forks source link

ios17 连接 android14 无法激活屏幕 黑屏无反应 点击无反应 #44

Closed liuxinagxiang closed 6 months ago

liuxinagxiang commented 10 months ago

使用iphone12 mini 系统iOS17 连接 pixel5 android14 提示连接成功 黑屏无反应

ZYMirror commented 9 months ago

我使用ios15.2,连接红米k40 hyperos android14 能显示画面,但是操控不了手机

ZYMirror commented 9 months ago

应该是安卓14的问题,新版的scrcpy已经解决这个问题,求大佬更新 @wsvn53

yu1t commented 8 months ago

同 安卓14, 无法控制, 新版 scrcpy 可以

wsvn53 commented 8 months ago

iOS 版本已经适配了新版 scrcpy,请下载最新 testflight 包:https://testflight.apple.com/join/9ZE6xhRt

MoozIiSP commented 7 months ago

我的是ios17.2.1,scrcpy-mobile用的是基于scrcpy2.3的testflight版本。连接android 12之后操作界面没有实时更新,一直卡在主界面。

日志:

INFO: ADB device found:
INFO:     --> (tcpip)  192.168.49.144:5501             device  rk3588_syf
DEBUG: Device serial: 192.168.49.144:5501
> check thread 0x0 status 0
> cleaning 1/1 threads
> thread count after clean: 0
> thread: pid=4414, name=ADB-4414 started.
> adb -s 192.168.49.144:5501 push scrcpy-server /data/local/tmp/scrcpy-server.jar
> pid=4414, success=true
> result:
scrcpy-server: 1 file pushed, 0 skipped. 21.4 MB/s (65963 bytes in 0.003s)

> wait pid=4414, result=true
> check thread 0x0 status 0
> cleaning 1/1 threads
> thread count after clean: 0
> thread: pid=2344, name=ADB-2344 started.
> adb -s 192.168.49.144:5501 reverse localabstract:scrcpy_011a09d2 tcp:27183
> pid=2344, success=true
> result:

> wait pid=2344, result=true
> check thread 0x0 status 0
> cleaning 1/1 threads
> thread: pid=7860, name=ADB-7860 started.
> thread count after clean: 0
> adb -s 192.168.49.144:5501 shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server 2.3 scid=011a09d2 log_level=debug video_bit_rate=4000000 audio=false audio_bit_rate=128000 max_fps=60
> scrcpy-server app_process started
> check thread 0x16e132788 status 1
> cleaning 0/1 threads
> thread count after clean: 1
> thread: pid=5549, name=ADB-5549 started.
> adb -s 192.168.49.144:5501 reverse --remove localabstract:scrcpy_011a09d2
2024-01-15 11:55:22.459 scrcpy-ios[1235:401087] -> Send command to trigger video restart I frame
2024-01-15 11:55:22.459 scrcpy-ios[1235:401087] -> Syncing clipboard
2024-01-15 11:55:22.460 scrcpy-ios[1235:401087] CLIPBOARD EVENT: Post Success
* daemon not running; starting now at tcp:15037
scrcpy-ios I 01-15 11:55:16  1235 401065 auth.cpp:417] adb_auth_init...
scrcpy-ios I 01-15 11:55:16  1235 401065 auth.cpp:152] loaded new key from '/var/mobile/Containers/Data/Application/F73BBF8D-C574-4E66-AA60-78D5AF184F95/Documents/.android/adbkey' with fingerprint 9D0DB9CD99F2A3655C2C1A733994BE7B3BCAF06878184ACA79D78814D1C116A7
* daemon started successfully
scrcpy-ios I 01-15 11:55:19  1235 401084 transport.cpp:333] 192.168.49.144:5501: read thread spawning
scrcpy-ios I 01-15 11:55:19  1235 401085 transport.cpp:305] 192.168.49.144:5501: write thread spawning
scrcpy-ios I 01-15 11:55:19  1235 401065 adb.cpp:168] 192.168.49.144:5501: already offline
ERROR: Could not get local file path, using scrcpy-server from current directory
ERROR: Could not get icon path
WARN: Could not load icon
2024-01-15 11:55:22.998 scrcpy-ios[1235:401055] [INFO] Using hardware decoding.
2024-01-15 11:55:23.473 scrcpy-ios[1235:401055] Menubar guide has already shown.
ERROR: [FFmpeg] Frame num change from 1 to 0
ERROR: [FFmpeg] decode_slice_header error
ERROR: [FFmpeg] hardware accelerator failed to decode picture
ERROR: [FFmpeg] Frame num change from 1 to 0
ERROR: [FFmpeg] decode_slice_header error
ERROR: [FFmpeg] hardware accelerator failed to decode picture
ERROR: [FFmpeg] hardware accelerator failed to decode picture
ERROR: [FFmpeg] hardware accelerator failed to decode picture
ERROR: [FFmpeg] hardware accelerator failed to decode picture