Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS Server .m3u8 extension not opening

I have a file called mystream.m3u8 that I'm trying to open from my iphone. I can see it on my server but when I open it from my iPhone and iPad it shows me 404 error. Not really sure why it's happening.

like image 917
Chirag Avatar asked Apr 01 '11 12:04

Chirag


1 Answers

Basically, IIS doesn't know how to treat .m3u8 files. See this:

You need to add mime types settings for both .m3u8 and .ts extension. The settings will look like:

<mimeMap fileExtension=".m3u8" mimeType="application/x-mpegURL" />
<mimeMap fileExtension=".ts" mimeType="video/MP2T" />

(copypasted in case iis.net is reorganized or something).

like image 144
Anton Gogolev Avatar answered Sep 27 '22 16:09

Anton Gogolev