I'm trying to stream audio from aws using AVPlayer. However, after ~42 minutes of flawless streaming (the audio tracks are all an hour long or more) AVPlayerItem fires a didPlayToEndTime event. After this happens, the app isn't allowed to play audio any more. Trying to play any audio at all appears to just kick out didPlayToEndTime events almost immediately.
It appears to work fine when targeting local files.
Is there something I'm missing? I'm instaniating new players, a new avaudiosession doesn't do anything, nothing is throwing any errors, and failedToPlayToEndTime is never evoked.