Skip to content

Example of how to stream and play a video while downloading with AVURLAsset and save the buffer to disk.

Notifications You must be signed in to change notification settings

GabrielMassana/streamAndSave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

streamAndSave

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

About

Example of how to stream and play a video while downloading with AVURLAsset and save the buffer to disk.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages