DOUAudioStreamer
DOUAudioStreamer copied to clipboard
A Core Audio based streaming audio player for iOS and macOS
能否增加一个设置http proxy的接口,这样可以方便实现类似在线播放免流等功能。
When I try to stream remote mp3 audio, this library works perfectly -- The audio buffers and then starts playing as the rest of the file loads ahead of it;...
If for some reason, the track isn't buffered enough and it stutters once, then the rest of the playback continuously keeps stuttering (shifts between buffering and playing), unless the user...
How do i enable song caching? Its not caching songs by default
音频文件url http://lrtstest.qiniudn.com/LFpUOnMAb25cP1rrpjvRd-jY3Gc=/lqzjUu_oez0s32Y089TL6NaG4E1L?e=1397846912&token=OOHK9_MIwdSJxAHYi5os2taDVS13CVvcEa1cZDb9:G81CD_M_iIAUZgu8UIT0BPENdiY= 实际是21:25 但是DOUAudioStreamer中的duration只有12:10 使用iOS sdk中的 avplayer也是获取的短了。 不知道是什么原因导致的?
我有个音频文件,取得的mSampleRate是48000,播放到文件后面时,还有一段没播完就提前终止了。 进入到这个判断逻辑了 SInt64 frame1 = _decodingContext.outputPos + ioOutputDataPackets; if (_decodingContext.decodeValidFrames != 0 && frame1 > _decodingContext.decodeValidFrames) { SInt64 framesToTrim64 = frame1 - _decodingContext.decodeValidFrames; UInt32 framesToTrim = (framesToTrim64 > ioOutputDataPackets) ?...
Thank for great library, but when I download and run the demo, streamer can not continue playing in background mode on iOS 7 but it can on iOS 8. Can...
Hello I want to add iPod's build-in equalizer function. (you can find at https://developer.apple.com/library/ios/samplecode/iPhoneMixerEQGraphTest/Introduction/Intro.html) Is it possible? Regards, zong.
由于此版本SDK中缓冲区设置的过小,导致用户在网速不太好的环境下容易播放时断时续。 看到DOUAudioEventLoop中有私有方法+ (NSUInteger)_decoderBufferSize; 是一个固定的缓冲区大小。可否开放接口由SDK使用者自定义呢?
使用URL:`http://lyd.nrk.no/nrk_radio_p1_ostlandssendingen_aac_h` 代码: ``` Track *tr = [[Track alloc] init]; tr.audioFileURL = [NSURL URLWithString:@"http://lyd.nrk.no/nrk_radio_p1_ostlandssendingen_mp3_l"]; streamer = [[DOUAudioStreamer alloc] initWithAudioFile:tr]; UIView *view = self.view; _audioVisualizer = [[DOUAudioVisualizer alloc] initWithFrame:CGRectMake(30, 30, 300, 300)];...