当前位置: 动力学知识库 > 问答 > 编程问答 >

http status code 404 - IIS Server .m3u8 extension not openning

问题描述:

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

分享给朋友:
您可能感兴趣的文章:
随机阅读: