AVPlayer and AVAudioPlayer on iOS

(Polderpark.Netherlands)
I like the bright color in this picture. Although this photo was taken almost 10 years ago, the image quality is so great that I still can't believe it's taken by a cheap camera at that time.

****
It's easy to play and control local mp3 files by using AVAudioPlayer. However, if someone wants to stream playing mp3 files from the internet, he should try AVPlayer instead.

Spend most of my time trying to find a remote mp3 for testing. Too bad that I just can't even find one. Eventually, I gave up searching on the internet. Instead, I use following python command to create a simple http server locally on my mac:

python -m SimpleHTTPServer
 
 

Comments

Popular posts from this blog

豈止於大 -- SONY DPT-S1 不專業開箱和心得分享

Adding macros in Android Studio (Intellij) -- take Adding Javadoc comment for example

如何批次下載教育廣播電台的教學節目有聲資料