CarGuo / GSYRecordWave

MP3音频录制,支持类似IOS原生的单边或者双边波形显示,低版本音频权限兼容,本地或者在线音频播放的波形显示,录制波形和播放波形会根据声音频率变色的功能,边播边缓存功能,简书入口http://www.jianshu.com/p/2448e2903b07
Apache License 2.0
934 stars 200 forks source link

Can we play audio by buffering from a web url #5

Closed ankitm099 closed 7 years ago

ankitm099 commented 7 years ago

Hello, Can we play an mp3 from web by passing the url in audiowaveview. Help!

CarGuo commented 7 years ago

Hello, I don't understand this demand. if you only play mp3, try use MediaPlayer

ankitm099 commented 7 years ago

My question is, If the music player work with waveview if I pass a web url of audio file instead of file path from phone. like following : audioPlayer.playUrl("http://www.stephaniequinn.com/Music/Commercial%20DEMO%20-%2005.mp3"); resolvePlayUI(); Will it play with waveview at the time of buffering from web. Thanks in advance :+1: :)

CarGuo commented 7 years ago

It can work with web url。😁

ankitm099 commented 7 years ago

I've tried with the above. but didn't work. can you please suggest what I need to change?

CarGuo commented 7 years ago

sorry,It can play by web Url,but not supprot buffter now