Example of how to stream and play a video while downloading with AVURLAsset and save the buffer to disk.
Requirements - Tag 1.0.0
- Play a video with AVPlayer.
- Play the video while downloading it.
- Save the video on disk when it is compleated
Extra requirements - Tag 1.1.0
- Add a spinner while first frames get downloaded
- Detect if buffer is empty and show a replay button