简体   繁体   English

iOS:从服务器开发音频(音乐)流

[英]iOS: developing audio (music) streaming from server

I'm researching to start developing an audio streaming apps. 我正在研究以开始开发音频流应用程序。 First thing I'd like to ask is the framework to use for it. 我想问的第一件事是要使用的框架。 I've tested DOUAudioStreamer , tumtumtum/StreamingKit , RadioKit and etc. 我已经测试了DOUAudioStreamertumtumtum/StreamingKitRadioKit等。

The framework needs to be able to seek a song from certain seconds with low latency. 该框架需要能够以低延迟从特定的几秒钟中寻找歌曲。 Spotify has that amazing seek feature ie find a song you've never listened before and play it, then slide the time slider to the middle, the song continues to play with low latency as if it has downloaded the whole song before. Spotify具有惊人的搜寻功能,例如找到您从未听过的歌曲并播放,然后将时间滑块滑到中间,这首歌曲将以低延迟继续播放,就好像它已经下载了整首歌曲一样。

I guess you could do some predictive analysis as to what songs the user will listen to next, ie start caching songs before they actually start to play. 我想您可以对用户接下来要听的歌曲进行一些预测分析,即在歌曲真正开始播放之前就开始对其进行缓存。 That will at least improve the experience somewhat. 这至少会改善体验。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM