Swiftpack.co -  michaelnisi/playback as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
michaelnisi/playback
Play audio and video
.package(url: "https://github.com/michaelnisi/playback.git", from: "v9.0.0")

Playback

The Playback Swift package for iOS plays audio and video. It manages a playback session, plays audio and video, integrates with Remote Command Center, and persists playback times using NSUbiquitousKeyValueStore.

Playback is used in the Podest podcast app.

FSM

Audiovisual playback is asynchronous, a combination of IO and user events. Internally, Playback synchronizes these events and serially handles them, implementing a finite-state machine with five states.

  • inactive
  • paused
  • preparing
  • listening
  • viewing

Install

📦 Add https://github.com/michaelnisi/playback to your package manifest.

License

MIT License

GitHub

link
Stars: 2
Last commit: 3 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

Free 🐋
30 weeks ago

Finally, Playback without FeedKit dependency!

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