Closed peterpaulis closed 8 months ago
After the playback of the remote file ends, in
func audioPlayerDidFinishPlaying(player: AudioStreaming.AudioPlayer, entryId: AudioStreaming.AudioEntryId, stopReason: AudioStreaming.AudioPlayerStopReason, progress: Double, duration: Double)
i get
stopReason == .none
not .eof
.eof
i drilled down why this happens and its because the atomic writing block for stopReason is executed after the delegate callback, despite the atomic operation is requested earlier
iOS16
@peterpaulis know this is a long time but this should now be fixed
After the playback of the remote file ends, in
i get
stopReason == .none
not
.eof
i drilled down why this happens and its because the atomic writing block for stopReason is executed after the delegate callback, despite the atomic operation is requested earlier
iOS16