jozsef-vesza/avfoundation-combine
Combine extensions for AVFoundation
Installation
Swift Package Manager
Once you have a Swift package set up, adding AVFoundationCombine as a dependency can be done by adding it to the dependencies value of your Package.swift.
dependencies: [
.package(url: "https://github.com/jozsef-vesza/AVFoundation-Combine", .upToNextMajor(from: "0.0.0"))
]Publishers
All publishers are designed to be lazy: they only start observing properties when subscribed to.
| Publisher | Source | |-----------|--------| | AVPlayer | | | playheadProgressPublisher(interval:) | addPeriodicTimeObserver(forInterval:queue:using:) | | currentItemPublisher() | currenItem | | ratePublisher() | rate | | AVPlayerItem | | | statusPublisher() | status | | durationPublisher() | duration | | isPlaybackLikelyToKeepUpPublisher() | isPlaybackLikelyToKeepUp | | isPlaybackBufferEmptyPublisher() | isPlaybackBufferEmpty | | didPlayToEndTimePublisher(_:) | .AVPlayerItemDidPlayToEndTime Notification | | AVAsset | | | commonMetadataPublisher(key:) | commonMetadata | | commonMetadataValuePublisher(key:) | commonMetadata | | commonMetadataExtrasPublisher(key:) | commonMetadata | | commonMetadataValuePublisher(key:as:) | commonMetadata | | commonMetadataValuePublisher(stringValueKey:) | commonMetadata | | commonMetadataArtworkPublisher() | commonMetadata |
License
AVFoundationCombine is available under the MIT license. See the LICENSE file for more info.
Package Metadata
Repository: jozsef-vesza/avfoundation-combine
Default branch: master
README: README.md