iOS SDk : Download Video and play it on device using only app
Hello, we have a JWPlayer enterprise account and we are building an app that plays encrypted movies (using apple FairPlay Streaming). We want to add the option to download a movie on device (the extension is m3u8), and play it using the app. I would appreciate if somebody could refer me some iOS demo or or give some general guidance post some code preferably in swift
Specifically I have 2 questions about the process:
1 . The file extensions are m3u8 so when I download an m3u8 file all I get is a text file. How do I get the actual video link to download it using the m3u8 file?
2. For encrypted movies, how to play them offline on the device in app player only?