Skip to content

[BUG]: onBufferUnderflow parameter not working in startPlayerFromStream #1205

@superplain99

Description

@superplain99

Flutter Sound Version :

  • FULL or LITE flavor ?

    • After version 9.26.0
  • Important: Result of the command : flutter pub deps | grep flutter_sound


Describe the bug
I confirmed that a new onBufferUnderflow parameter was introduced to replace whenFinished for handling stream data in the player.
However, this parameter does not seem to work. In the definition of startPlayerFromStream, it is written as onBufferUnderlow (missing the f) instead of onBufferUnderflow.
Also, in the code, if fromStream is set to true, it looks like this parameter is not being used at all.
Could you please confirm if my understanding is correct?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions