知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
fix: a meeting in WeCom or Webex Meetings counts as a call
wquguru4b93ac1e40f7
diff --git a/Sources/Cicada/MicUsers.swift b/Sources/Cicada/MicUsers.swiftindex ce185b0..82ef573 100644--- a/Sources/Cicada/MicUsers.swift+++ b/Sources/Cicada/MicUsers.swift@@ -27,9 +27,11 @@ struct MicUser: Identifiable, Equatable {enum MicUsers {/// Dedicated meeting apps: listed while running, even when idle. Browsers and chat apps are/// listed only while they read a microphone, or the list would always show them.+ /// 飞书 is `com.electron.lark`; Lark, its international edition, has an id of its own.static let meetingApps: Set<String> = ["us.zoom.xos", "com.tencent.meeting", "com.microsoft.teams2", "com.microsoft.teams",- "com.electron.lark", "com.bytedance.lark", "com.larksuite.larkApp", "com.alibaba.DingTalkMac", "Cisco-Systems.Spark",+ "com.electron.lark", "com.bytedance.lark", "com.larksuite.larkApp", "com.alibaba.DingTalkMac",+ "com.tencent.WeWorkMac", "Cisco-Systems.Spark", "com.webex.meetingmanager",]/// One audio-reading process: its bundle id and the input devices it has open.diff --git a/Tests/CicadaTests/MicUsersTests.swift b/Tests/CicadaTests/MicUsersTests.swiftindex d9381e1..3112e76 100644--- a/Tests/CicadaTests/MicUsersTests.swift+++ b/Tests/CicadaTests/MicUsersTests.swift@@ -39,6 +39,19 @@ import Testing#expect(users == [MicUser(bundleID: "com.google.Chrome", name: "Google Chrome", state: .virtualMic)])}+ @Test func larkWeComAndWebexMeetingsAreCalls() {+ let calls = MicUsers.calls(+ readers: [.init(bundleID: "com.larksuite.larkApp.helper", inputs: [builtIn]),+ .init(bundleID: "com.tencent.WeWorkMac", inputs: [builtIn]),+ .init(bundleID: "com.webex.meetingmanager", inputs: [builtIn]),+ .init(bundleID: "com.tencent.xinWeChat", inputs: [builtIn])],+ running: ["com.larksuite.larkApp": "Lark", "com.tencent.WeWorkMac": "企业微信",+ "com.webex.meetingmanager": "Webex Meetings", "com.tencent.xinWeChat": "微信"])+ // 微信 reads the mic for a voice message too: that isn't a call.+ #expect(calls == ["com.larksuite.larkApp": "Lark", "com.tencent.WeWorkMac": "企业微信",+ "com.webex.meetingmanager": "Webex Meetings"])+ }+@Test func applesOwnMicReadersAreNotMeetings() {let users = MicUsers.merge(readers: [.init(bundleID: "com.apple.Sound-Settings.extension", inputs: [builtIn]),diff --git a/site/changelog.json b/site/changelog.jsonindex ca8c079..61fc38e 100644--- a/site/changelog.json+++ b/site/changelog.json@@ -52,6 +52,15 @@"title": "“听哪里”换成一个“打开麦克风”按钮,在纪要窗口和托盘或顶栏菜单里都能点;戴耳机或电脑放音乐时,桌边的话也能记下。","text": "电脑里的声音一直在听,打开麦克风就把桌边的人加进同一场会议,每次启动都是关着的。知了会测出扬声器的声音有没有传到麦克风:传到了,线上有人说话时桌边先不听;戴耳机或用会议麦克风时不用避让,两边同时说话都能记下;电脑放音乐时也不避让。不再问“在会议室里开会?”和“线上也有人?”。"},+ {+ "kind": "fixed",+ "platforms": [+ "mac",+ "windows"+ ],+ "title": "用 Lark 国际版、企业微信或 Webex Meetings 开会,也会被认出正在通话。",+ "text": "通话中不再问“在会议室里开会?”,挂断后也能自动结束会议。Windows 上新认出的是企业微信。"+ },{"kind": "fixed","platforms": [