问题描述:

I have a file called mystream.m3u8 that im 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 its happening.

网友答案:

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

相关阅读:
Top