swifter
swifter copied to clipboard
Hosting a M3u8 file using Swfiter
Hi! I am trying to use Swifter as an embedded http server in my tvOS application to host an m3u8 playlist. I am not sure how to achieve that. What I am trying to achieve is to pass my AVPlayer a url of this hosted playlist as such:
let asset = AVURLAsset(url: mediaURL)
Where mediaURL is the url of m3u8 hosted using Swifter.
Thanks!
Hello, Are you able to play the media file using swifter? If yes please guide me how you had achieved this. I want to play video file hosted on local http server. And the file is in encrypted form.