From 7b3ecfffc59d2d980d9f7628365b64c20fe015be Mon Sep 17 00:00:00 2001 From: Runt <qingingrunt2010@qq.com> Date: Sun, 27 Jul 2025 09:42:03 +0000 Subject: [PATCH] 多个小窗缩放问题修复 --- LiveProject/controller/CameraCapture.swift | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/LiveProject/controller/CameraCapture.swift b/LiveProject/controller/CameraCapture.swift index 355b1e0..66d0a0c 100644 --- a/LiveProject/controller/CameraCapture.swift +++ b/LiveProject/controller/CameraCapture.swift @@ -60,9 +60,7 @@ guard let buffer = CMSampleBufferGetImageBuffer(sampleBuffer) else { return } let width = CVPixelBufferGetWidth(buffer) let height = CVPixelBufferGetHeight(buffer) - //print("Buffer Size: \(CVPixelBufferGetWidth(buffer))x\(CVPixelBufferGetHeight(buffer))") - //print("Connection orientation: \(connection.videoOrientation.rawValue)") - //print("Rotation angle: \(connection.videoRotationAngle)") + //print("📷 当前帧尺寸: \(width)x\(height)") onFrame?(buffer) } -- Gitblit v1.9.1