Swiftpack.co - michaelnisi/playback as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by michaelnisi.
michaelnisi/playback v9.0.0
Play audio and video
⭐️ 3
🕓 2 years ago
iOS macOS
.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: 3
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

12.1.0
2 years ago

Publish asset state for playback monitoring and scrubbing.

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