Media & Entertainment

Swift Concurrency for AVPlayer: Actors and async/await

Introduction Here’s a bug you might recognise. A user taps “Next episode” while the current one is still loading, and a second later an error screen pops up over the new episode. The error actually belongs to the previous one, which failed late. Bugs like this are easy to blame on AVFoundation, but they’re really […]

Mukul Sharma
Mukul Sharma
Read