Created attachment 381840 [details] this html helps repro the issue On Safari on iOS 13: Step 1: Call getUserMedia({audio: true}) to obtain a media stream with audio track Step 2: Attach the stream to audio element Step 3: disable the audio track by calling audioTrack.enabled = false Step 4: Switch to another app for few seconds. Step 5: Observe: Notice that Audio Track goes into readyState=ended. And it can not be played anymore. Expected: The audio track be able to be played once enabled. Once we get into this situation, Now notice that even w/o switching to another app, audio track immediately ends when disabled. Step 6: Call getUserMedia({audio: true}) to obtain a media stream with audio track Step 7: Attach the stream to audio element Step 8: disable the audio track by calling audioTrack.enabled = false Step 9: Observer: track goes into readyState=ended state. Expected: track should just go into disabled state, and not end. Following jsfiddle makes it easy to see the repro in action: https://jsfiddle.net/makarandp/3c29y40q/
<rdar://problem/56596348>
Duplicated of: https://bugs.webkit.org/show_bug.cgi?id=202405 this has been fixed in the new iOS 13.2.2 release
Thanks for the comment Francesco. *** This bug has been marked as a duplicate of bug 202405 ***
Hi Youenn, I think this bug is still present in i0S 13.3. I ran the JSFiddle and was able to reproduce the observed behavior. The fix was supposed to be released in 13.2.2. Can you please clarify? - Manjesh