Skip to content

Bug conversation durations  #4056

Closed as not planned
Closed as not planned

Description

@hugoaap-code

Describe the bug
Users reported 1-2 minute conversations are showing up as 20 or 30 minutes long. Could we get this fixed?
.

To Reproduce
Steps to reproduce the behavior:

  1. Go to home
  2. see a 20 min long conversation
  3. open it go to transcriptions and see it actually has only few minutes

Omi AI 1.0.517 (549) — samsung SM-S938B — Android 16

.
https://github.com/user-attachments/assets/343990d0-6ead-4f74-a9d8-edfbd380f324

Activity

  1. added
    capture
    p2
    maintainer
    on Jan 29, 2026
  2. beastoin commented on Jan 29, 2026

    @beastoin
    Collaborator

    @hugoaap-code Conversation durations showing 20-30 minutes when actual content is only 1-2 minutes. This is a duration calculation bug in the capture layer - possibly including silence or counting time incorrectly. I scored it as Layer capture / P2 / maintainer with score 15 (w=5, sev 2, trust 2, freq 2, lev 2, cost 1). See our triage guide.


    by AI for @beastoin

  3. beastoin commented on Feb 19, 2026

    @beastoin
    Collaborator

    Hi there — this issue has been open for a while with no further updates since the last response. Closing for now to keep things tidy.

    If this is still an issue or you'd like to continue the conversation, please feel free to reopen and we'll take another look. Thanks for the report!

  4. lucidsif commented on May 28, 2026

    @lucidsif

    Hello, thank you @hugoaap-code and @beautiful for opening this thread and commenting. I'm still reproducing as of May 25, 2028 on iOS with Omi app version 1.0.535 (855) as displayed in the app and firmware 3.0.19 for the hardware.

    Root cause: ServerConversation.getDurationInSeconds() returns finishedAt - startedAt whenever both are set, but I believestarted_at is anchored to the audio-streaming session origin rather than the conversation. So a short conversation shows a duration equal to how long the streaming session had been open for e.g. ~10s of speech displayed as ~600s when the session had been open ~10 min. It is provider-independent (observed on both cloud like Deepgram and my local STT), and processing promptly does not help since multiple conversations in one session share the same early started_at.

    I'm opening a PR with a minimal fix and will link once it's ready here.

  5. added 4 commits that reference this issue on May 28, 2026
    cbe8515
    2e9106f
    466aa5f
    1349347
  6. lucidsif commented on May 28, 2026

    @lucidsif

    Please see my proposed PR fix and feel free to provide any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

capturemaintainerp2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions