You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.
My ionic app uses html5 audio to play a audio file, which is in prior recorded by user using Native Media Plugin with the mobile microphone.
let audioAsset = new Audio(local_recorded_file_URI_by_user);
audioAsset.play();
In iOS 10 or Android it works as expected.
In iOS 11, the issue appears. html5 audio reads and plays from a cached audio copy. Due to this, it only plays the very first record no matter how many times the user record and save to the same audio file.
I am sure it reads from cache because:
the issue occurs only in iOS 11. It works as expectedin iOS 10.
I upgraded one iPhone today from iOS 10 to iOS 11, confirmed this symptom
One possible solution is to let users record each time to files with different names. But this will add a lot of unnecessary complications.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My ionic app uses html5 audio to play a audio file, which is in prior recorded by user using Native Media Plugin with the mobile microphone.
In iOS 10 or Android it works as expected.
In iOS 11, the issue appears. html5 audio reads and plays from a cached audio copy. Due to this, it only plays the very first record no matter how many times the user record and save to the same audio file.
I am sure it reads from cache because:
One possible solution is to let users record each time to files with different names. But this will add a lot of unnecessary complications.
The text was updated successfully, but these errors were encountered: