APlay
APlay copied to clipboard
A Better(Maybe) iOS Audio Stream、Cache、Play Framework
CPU usage is very high in iOS14
it's playing m4a, mp3 file but not opus and flac even though I have seen cases of opus and flac in this lib
let url = URL(string: "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4extra_mf_q")! let player = APlay() player.eventPipeline.delegate(to: self, with: { (target, event) in // event handling }) player.play(url)
`https://rongcloud-file.cn.ronghub.com/application_octet-stream__RC-2019-03-20_1628_1553058559816?attname=2019.03.19-%E5%BE%AE%E8%84%89%E5%AE%98%E6%96%B9%E4%BD%93%E9%AA%8C%E7%BE%A4.m4a&e=2147483647&token=CddrKW5AbOMQaDRwc3ReDNvo3-sL_SO1fSUBKV3H:LBx576B-7bhU3b-MesGIlPfHQbw= ` this url can't play, always print `🐛 [Debug] reading empty data back, try to reopen`
Hi, we're really keen to use this library after having run into crash issues with another one we're using. The big feature that's missing for us is pre-loading... We take...