AVAudioPlaybackSession
Apple AVAudioEngine + AVAudioPlayerNode transport session.
Seek hops off the completion queue: AVAudioPlayerNode.stop must never run inside a buffer completion handler (documented deadlock). Completions only enqueue "schedule more" work onto the session scope.
Inheritors
Properties
Link copied to clipboard
Currently retained seekable window. Empty if nothing buffered. Defaults to a frozen empty range for unmigrated sessions.
Link copied to clipboard
Transport media time, best-effort while playing. Defaults to a frozen Duration.ZERO for unmigrated sessions.
Link copied to clipboard
A flow that emits the current state of the playback.
Link copied to clipboard
In-tree platforms that return true from useTransportPlayback publish real bufferedRange / transport seek. External subclassers keep the default.