1
Runt
2025-06-27 bf9e4680eb466bcb7c9cb1bef567252bb1f2bb7d
LiveProject/data/DeviceInfo.swift
@@ -0,0 +1,21 @@
//
//  DeviceInfo.swift
//  LiveProject
//
//  Created by 倪路朋 on 6/26/25.
//
struct DeviceInfo : Hashable {
    let name:String
    let type:StreamType
    let deviceId:String;
    func hash(into hasher: inout Hasher){
        hasher.combine(deviceId)
    }
    static func == (lhs: DeviceInfo, rhs: DeviceInfo) -> Bool {
        lhs.deviceId == rhs.deviceId
    }
}