dimitris-c / AudioStreaming

An AudioPlayer/Streaming library for iOS written in Swift using AVAudioEngine.
MIT License
250 stars 52 forks source link

App Crashing when playing a URL #74

Closed adilfarooq-iways closed 4 months ago

adilfarooq-iways commented 5 months ago

The application crashed after some time, when tried to play with a url.

IOS: 16 SWIFT UI

Screenshot 2024-04-09 at 4 22 52 PM
dimitris-c commented 5 months ago

I haven't seen this crash, will have a look at it, but I would be remiss if I didn't mention the fact that creating the AudioPlayer inside a Button action is incorrect, this will cause the AudioPlayer to be recreated on each tap of the button which might have undesired effects.

dimitris-c commented 4 months ago

can't reproduce