Skip to content

Swift iOS example of caching HLS video to disk for offline playback

Notifications You must be signed in to change notification settings

ProgrammerFaraz/HLS-Video-Caching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLS Video Caching iOS App

SETUP

PREREQUISITES

XCode IDE (v13 preferred)
Cocoapods (v1.11.3 preferred)

How to Run the project:

  • 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

What this project has:

  • 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.

About

Swift iOS example of caching HLS video to disk for offline playback

Resources

Stars

Watchers

Forks