HFMAudioPlayer combines all the audio players under one roof and provides utility methods and external device hooks.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
HFMAudioPlayer.xcworkspace
HFMAudioPlayer
Pods
.gitignore
.swift-version
.travis.yml
HFMAudioPlayer.podspec
LICENSE
Podfile
Podfile.lock
README.md

README.md

HFMAudioPlayer

Travis CI CocoaPods Compatible Platform

HFMAudioPlayer seamless combines AVAudioPlayer and AVPlayer under one roof so you don't have to fight with multiple SDKs. In addition to this, it adds utility methods, an optional event manager, and method hooks for external device control.

Features

  • Play any file--remote or local--and don't worry about which class to create.
  • Switch to the local file after downloading from the stream without a hitch.
  • Connect to external device controls--including your lock screen.

Requirements

  • iOS 9.0+
  • Xcode 8.0+
  • Swift 3.0+

Dependencies

HFMAudioPlayer has no external dependencies at this time, and we plan to keep it that way.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

You can install it by adding the following line to your Podfile:

pod 'HFMAudioPlayer'

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

We do not support Carthage at this time. Please contact us if you require Carthage support.

Swift Package Manager

Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.

We do not support Swift Package Manager at this time. Please contact us if you require Swift Package Manager support.

Manually

For instructions on how to install the SDK manually, please contact us.

Usage

Initializing the Client

To be added.

Coming Soon

  • Add HFMAudioManager for the easiest possible integration.
  • Add more HFMAudioManagerDelegate options for download requests and other utilities.
  • Create formatter for NowPlayingInfo.
  • Make most functions throw comprehensive errors where possible.
  • Add further debug logging.
  • Add better documentation.

Communication

  • If you found a bug, please open an issue.
  • If you would like to contribute, feel free to submit a pull request.
  • If you have a feature request, please contact us.

License

HFMAudioPlayer is released under the MIT license. See LICENSE for details.