Skip to content

Drop Low Latency Mode in Android in favor of exoplayer implementation #2021

Description

@Gustl22

Checklist

  • I made sure that the issue I am raising doesn't already exist

Use case / Problem

Currently we use two different players in audioplayers_android in order to achieve more functionality:

  • SoundPool: Low lateny mode
  • MediaPlayer: regular audio playback

While there exists a new LL Alternative for Android (Oboe) I think it might be too much maintenance burden for the benefit, also regarding the existing alternatives, like flutter_soloud.

The benefits of dropping LLM are:

  • Better Android support (MediaPlayer is deprecated).
  • Alignment of behavior across platforms (LLM currently only exists for Android)
  • Less maintenance / reduced complexity

Proposal / Solution

Drop Low Latency Mode for Android in favor of making audioplayers_android_exoplayer the default.

As a compromise, I would just deprecate the feature, but folks would still be able to switch to the "old" implementation for compatibily reasons.

Example Code

No response

Affected platforms

Android

Platform details

No response

Audio Files/URLs/Sources

No response

Mockups

No response

Related issues / more information

No response

Working on PR

yeah

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