fix: 远程控制截图无法获取最新图像 (#15276)

This commit is contained in:
白隐Hakuin
2026-01-02 19:20:55 +08:00
committed by GitHub
parent 6eaf74a289
commit 1456fbb91c

View File

@@ -422,7 +422,7 @@ public class RemoteControlService
bool connected = await Task.Run(() => Instances.AsstProxy.AsstConnect(ref errMsg));
if (connected)
{
var image = await Instances.AsstProxy.AsstGetImageAsync();
var image = await Instances.AsstProxy.AsstGetFreshImageAsync();
if (image == null)
{
status = "FAILED";
@@ -531,7 +531,7 @@ public class RemoteControlService
bool connected = await Task.Run(() => Instances.AsstProxy.AsstConnect(ref errMsg));
if (connected)
{
var image = Instances.AsstProxy.AsstGetImage();
var image = Instances.AsstProxy.AsstGetFreshImage();
if (image == null)
{
status = "FAILED";