fix: 跑通摄像头640x480配置

This commit is contained in:
alivender
2025-07-12 18:24:25 +08:00
parent f253a33c83
commit e25f08739a
4 changed files with 120 additions and 98 deletions

View File

@@ -627,7 +627,7 @@ public class HttpVideoStreamService : BackgroundService
}
// 将 RGB565 转换为 RGB24
var rgb24Result = Common.Image.ConvertRGB565ToRGB24(rgb565Data, _frameWidth, _frameHeight);
var rgb24Result = Common.Image.ConvertRGB565ToRGB24(rgb565Data, _frameWidth, _frameHeight, isLittleEndian: false);
if (!rgb24Result.IsSuccessful)
{
logger.Error("RGB565转RGB24失败: {Error}", rgb24Result.Error);