superjohan / ifm

Intergalactic FM for iPhone
1 stars 2 forks source link

Streaming is broken on iOS 13+ #7

Closed superjohan closed 3 years ago

superjohan commented 3 years ago

The app uses MPMoviePlayerController for streaming. This class was deprecated in iOS 9, and was removed entirely in iOS 13 (I think) for apps built with a fairly recent SDK. Some other solution needs to be used.

See which one's the simplest to use, if it even works: AVPlayer, AVAudioPlayer, or AVAudioEngine. The last one seems to be pretty complicated. AVAudioPlayer would be ideal, but I'm not sure if it works with streaming.

cc @alepar666, this will delay the release of the 2.0 update a bit.