audioplayers icon indicating copy to clipboard operation
audioplayers copied to clipboard

[Web] iOS audio repeats circa first 1/2 second on resume

Open RedHappyLlama opened this issue 2 years ago • 1 comments

Checklist

  • [X] I read the troubleshooting guide before raising this issue
  • [X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour

On a Flutter Web App, only on iOS phones, if you resume a mp3 URL audio clip that has previously been started and then paused, the first 1/2 second or so is repeated / played twice before continuing as normal. The issue occurs if you run the example app as a web-app on an iOS phone. The issue does not occur when an audio clip is first played.

Expected behaviour

On a Flutter Web App, all phones, if you resume a mp3 URL audio clip that has previously been started and then paused, the audio continues to play from the point it was paused without any repetition or stutter.

Steps to reproduce

Run the audioplayers example app from a hosted domain on an iOS phone.

Code sample

Example app.

Affected platforms

web

Platform details

Web on iOS phones.

AudioPlayers Version

audioplayers: ^4.1.0

Build mode

release

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

my relevant logs
Full Logs
my full logs or a link to a gist

Flutter doctor:

Output of: flutter doctor -v

Related issues / more information

No response

Working on PR

no way

RedHappyLlama avatar Jun 29 '23 14:06 RedHappyLlama

Thank you for your good issue description. We would be exited, if you can work on a PR for a fix for this, as we are limited in our capacities. Also check the other issues in this category: https://github.com/bluefireteam/audioplayers/issues?q=is%3Aissue+is%3Aopen+label%3Aplatform-web-safari

Gustl22 avatar Jul 30 '23 21:07 Gustl22