XCode IDE (v13 preferred)
Cocoapods (v1.11.3 preferred)
- After cloning the project, open terminal and go to main directory of the project and run 'pod install'. This will install all the dependencies for this project.
- Open VideoCachingHLS.xcworkspace file
- Select the simulator on which you want to run the app from Active schemes/Active device selector.
- Click the run button or Cmd+R to run the project
- This project has video caching mechanism for HLS video format (.m3u8).
- It can cache any HLS video URL on iPhone and user can also clear cache.
- See 'PlayerViewController' for the caching mechanism code.