Runt
2025-06-27 37251af47d1c5e622e8e62a76ff7077f9cd87069
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
    }
}