swifter icon indicating copy to clipboard operation
swifter copied to clipboard

Hosting a M3u8 file using Swfiter

Open wessamgabdrabo opened this issue 7 years ago • 1 comments

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!

wessamgabdrabo avatar Dec 07 '17 12:12 wessamgabdrabo

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.

payalbaldota avatar Mar 12 '18 05:03 payalbaldota