Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(windows): in a meeting switched from PC + Room to Room, later room lines are no longer marked Online

wqugurucdd311e3b052
diff --git a/windows/src/Cicada.Core/ListenEngine.cs b/windows/src/Cicada.Core/ListenEngine.cs
index 0edeaf0..bd68a0e 100644
--- a/windows/src/Cicada.Core/ListenEngine.cs
+++ b/windows/src/Cicada.Core/ListenEngine.cs
@@ -361,7 +361,9 @@ public sealed class ListenEngine
{
Id = $"h{++lineCount}-{(RoomSide ? RoomIDs : 0) + seg.Index}", T = Math.Round(offset + seg.Start, 3), Speaker = "them",
Src = heard.Original, Dst = heard.Translation, SrcLang = heard.Lang, DstLang = target, Voice = voice,
- Via = RoomSide ? "room" : null,
+ // 会议室 alone too: a meeting switched to it from 电脑和会议室 would otherwise
+ // mark its later room lines 线上 (as on the Mac).
+ Via = RoomSide || settings.ListensToRoom ? "room" : null,
};
last = line;
}