I'm building an app which plays an audio stream (from a webradio).
I'm using AVPlayer for it.
I'd like to know how you would handle
AVPlayer's"buffering" when the connection is slow or when the user just clicked "play". I want to detect thatAVPlayeris "buffering" to display anUIActivityIndicatorView.Same question while running in the background. What should I do if buffering in this case?