From 2b51baa1981fb445b938e64bdce539e58fe70264 Mon Sep 17 00:00:00 2001
From: Runt <qingingrunt2010@qq.com>
Date: Sat, 26 Jul 2025 13:17:14 +0000
Subject: [PATCH] 小窗缩放, 相机转小窗显示 小窗旋转,相机画面旋转 关闭按钮优化

---
 LiveProject/data/DeviceInfo.swift |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/LiveProject/data/DeviceInfo.swift b/LiveProject/data/DeviceInfo.swift
index e69de29..ff6bf3f 100644
--- a/LiveProject/data/DeviceInfo.swift
+++ b/LiveProject/data/DeviceInfo.swift
@@ -0,0 +1,22 @@
+//
+//  DeviceInfo.swift
+//  LiveProject
+//
+//  Created by 倪路朋 on 6/26/25.
+//
+import SwiftUI
+
+struct DeviceInfo : Hashable {
+    let name:String
+    let type:StreamType
+    let deviceId:String;
+    var icon : IconInfo? = nil;
+    
+    func hash(into hasher: inout Hasher){
+        hasher.combine(deviceId)
+    }
+    
+    static func == (lhs: DeviceInfo, rhs: DeviceInfo) -> Bool {
+        lhs.deviceId == rhs.deviceId
+    }
+}

--
Gitblit v1.9.1