mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 14:27:00 +08:00
Fix: Locking scrcpy screenshot and control
This commit is contained in:
@@ -192,6 +192,7 @@ class ScrcpyCore(Connection):
|
||||
for packet in packets:
|
||||
frames = codec.decode(packet)
|
||||
for frame in frames:
|
||||
# logger.info('frame received')
|
||||
frame = frame.to_ndarray(format="rgb24")
|
||||
self._scrcpy_last_frame = frame
|
||||
self._scrcpy_last_frame_time = time.time()
|
||||
|
||||
Reference in New Issue
Block a user