直接上代码!
let urlMp3:NSURL = NSURL(string: "http://api.sport-x.cn/audio/demo1.mp3")!
let myAFSoundItem = AFSoundItem.init(streamingURL: urlMp3)
let player:AFSoundPlayback = AFSoundPlayback.init(item: myAFSoundItem!)
player.play()