Latest 0.1.1
Homepage https://github.com/CodeEagle/APlay
License MIT
Platforms ios 8.0
Authors

APlay

A Better(Maybe) iOS Audio Stream & Play Swift Framework

Usage

import APlay
...
let url = URL(string: "path/to/audio/resource")!
let player = APlay()
player.eventPipeline.delegate(to: self, with: { (target, event) in
    //  event handling
})
player.play(url)
...

Docs

Run ./generate_docs.sh

Features

  • [x] CPU-friendly design to avoid excessive peaks

  • [x] Support seek on WAVE, and FLAC(with seektable)

  • [x] Support all type of audio format(MP3, WAVE, FLAC, etc…) that iOS already support(Not fully tested)

  • [x] Digest(Tested), Basic(not tested) proxy support

  • [x] Multiple protocols supported: ShoutCast, standard HTTP, local files

  • [x] Prepared for tough network conditions: restart on failures´╝îrestart on not full content streamed when end of stream

  • [x] Metadata support: ShoutCast metadata, ID3V1, ID3v1.1, ID3v2.2, ID3v2.3, ID3v2.4, FLAC metadata

  • [x] Local disk storing: user can add folders for local resource loading

  • [x] Playback can start immediately without needing to wait for buffering

  • [x] Support cached the stream contents to a file

  • [x] Custom logging module and logging into file supported

  • [x] Open protocols to support customizing. AudioDecoderCompatible, ConfigurationCompatible, LoggerCompatible

Installation

Carthage github "CodeEagle/APlay"

CocoaPods pod 'APlay'

Todo

  • [ ] Airplay2 support(Maybe not)
  • [ ] AudioEffectUint support

License

License

Contact

Github, Twitter

Latest podspec

{
    "name": "APlay",
    "version": "0.1.1",
    "summary": "A Better(Maybe) iOS Audio Stream & Play Swift Framework.",
    "swift_version": "4.2",
    "description": "A Better(Maybe) iOS Audio Stream & Play Swift Framework",
    "homepage": "https://github.com/CodeEagle/APlay",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "CodeEagle": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CodeEagle/APlay.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "exclude_files": "APlay/Info.plist",
    "source_files": "APlay/**/*"
}

Pin It on Pinterest

Share This