Skip to content

Cached MP4 audio files report DidFinishPlaying immediately #128

Closed

Description

@BLeeEZ

A cached mp4 file is not played. Instead AudioStreaming directly reports finished playback. With AudioStreaming version 1.2.8 this wasn't the case. From version 1.3.0 upwards this issue is occurring. The callback audioPlayerDidFinishPlaying is called immediately with stopReason: eof. The callback audioPlayerUnexpectedError is not called. The log doesn't show any anomaly either.

Activity

  1. dimitris-c commented on Dec 11, 2025

    @dimitris-c
    Owner

    Hey, is it possible to get the mp4 file that is cached, as I understand from the thread on your repo it seems that the server transcodes the file. So I wanted to check if the mp4 file is optimized or not

  2. dimitris-c commented on Dec 11, 2025

    @dimitris-c
    Owner
  3. BLeeEZ commented on Dec 11, 2025

    @BLeeEZ
    ContributorAuthor

    Hi, thank you for the fast response. Sure I can send you the file. Do you have an email address where I can send you the file to? It’s a copy right file and I don’t want to share it here publicly.

  4. dimitris-c commented on Dec 12, 2025

    @dimitris-c
    Owner

    you can use dimitrisc[@]duck.com

  5. dimitris-c commented on Dec 12, 2025

    @dimitris-c
    Owner

    @BLeeEZ got it thanks

  6. dimitris-c commented on Dec 12, 2025

    @dimitris-c
    Owner

    @BLeeEZ PR that fixes this issue #129

    The check optimized detection for mp4 was incorrect, this should fix this

    Latest release should fix this, let me know if it works

  7. BLeeEZ commented on Dec 12, 2025

    @BLeeEZ
    ContributorAuthor

    Yes the bug is fixed. Thank you.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions