媒体
**FreeStreamer
A streaming audio player for iOS and OS X.
(https://github.com/muhku/FreeStreamer#features)
Features
CPU-friendly design (uses 1% of CPU on average when streaming)
CPU友好设计,平均消耗1%
Multiple protocols supported: ShoutCast, standard HTTP, local files
多协议支持
Prepared for tough network conditions: adjustable buffer sizes, stream pre-buffering and restart on failures
弱网络适应。可调节buffer size,流媒体预缓存,失败重缓存*
Metadata support: ShoutCast metadata, IDv2 tags
Metadata支持
Local disk caching: user only needs to stream a file once and after that it can be played from a local cache
本地disk缓存
Preloading: playback can start immediately without needing to wait for buffering
预加载
Record: support recording the stream contents to a file
录音
Access the PCM audio samples: as an example, a visualizer is included
支持格式
typedef NS_ENUM(NSInteger, FSFileFormat ) {
[kFSFileFormatUnknown] = 0,
[kFSFileFormatM3UPlaylist],
[kFSFileFormatPLSPlaylist],
[kFSFileFormatXML],
[kFSFileFormatMP3],
[kFSFileFormatWAVE],
[kFSFileFormatAIFC],
[kFSFileFormatAIFF],
[kFSFileFormatM4A],
[kFSFileFormatMPEG4],
[kFSFileFormatCAF],
[kFSFileFormatAAC_ADTS],
[kFSFileFormatCount],};
VoiceConvert