Skip to content

[Bug] Streaming Audio takes too long to load and stream #575

Open
@dsilva-adastra

Description

@dsilva-adastra

Describe the bug

Hello everyone,

I have an issue with streaming audio with Readium. I have an audio file that takes 30 seconds to load the Publication object and another 20 seconds to start streaming after calling the play method.

I don't know if I am doing something wrong.
I attached a sample project that reproduces the issue
I am using Swift 6

Any help is appreciated. Thank you

How to reproduce?

  1. Open the Sample project
  2. Run it on a simulator or device of your choice (running in the preview also works)
  3. You have to wait for 30 seconds until you can play the file
  4. You have to wait at least 20 seconds until the playback starts

Readium version

3.2.0

OS version

iOS 17.6+

Testing device

Any device of emulator

Environment

macOS: 15.4
platform: arm64
Xcode 16.3
Build version 16E140

Additional context

ReadiumStreaming.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions