Swiftpack.co -  fuziki/RemoteAudioPlayerNode as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
fuziki/RemoteAudioPlayerNode
AVAudioNode for playing Remote Audio Files.
.package(url: "https://github.com/fuziki/RemoteAudioPlayerNode.git", from: "v0.0.1")

RemoteAudioPlayerNode

Platform Swift Xode

AVAudioNode for playing Remote Audio Files.

Required

  • Xcode 12

Installation

Swift Package Manager

https://github.com/fuziki/RemoteAudioPlayerNode

Usage

Play Remote Audio File

  • Make RemoteAudioPlayerNode instance.
  • Schedule remote audio file with url.
private let player = RemoteAudioPlayerNode()

// ~ Setup Audio Engine ~

player.scheduleRemoteFile(URL(string: "http://www.ne.jp/asahi/music/myuu/wave/fanfare.mp3")!, completionHandler: {
    print("finish play!")
})

Example

Example Server

  • Run example server
make run-example-server
  • Check example server
make curl-request EXPECT=3

Example Client App

  • Open RemoteAudioPlayerNode.xcworkspace
  • Run "ClientApp"

GitHub

link
Stars: 2
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Support SwiftPM
4 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API