Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

πŸ›(transcription) fix silent fail of speaker assignment

leo9921ef9d09f6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9b2ca454..c0199cdc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,10 @@ and this project adheres to
## [Unreleased]
+## Fixed
+
+- πŸ›(transcription) fix silent bug in speaker assignment
+
## [1.24.0] - 2026-07-21
### Added
diff --git a/src/summary/summary/core/user_assign.py b/src/summary/summary/core/user_assign.py
index 1a8f9b98..c373dde0 100644
--- a/src/summary/summary/core/user_assign.py
+++ b/src/summary/summary/core/user_assign.py
@@ -275,7 +275,7 @@ def _build_participant_timelines(
def _build_speaker_timelines(transcription: Any) -> dict[str, list[Interval]]:
"""Build interval timelines from WhisperX transcription segments."""
intervals: dict[str, list[Interval]] = {}
- segments = transcription.segments if hasattr(transcription, "segments") else []
+ segments = transcription.get("segments") or []
max_word_duration = settings.resolve_speaker_identities_max_word_duration
for segment in segments: