Http Live Streaming for iPhone and why we use .m3u8 file

后端 未结 3 932
情书的邮戳
情书的邮戳 2020-12-16 07:17

I have done all that from This I have also made .ts and m3u8 file. In local server and live server i can play mp4 file like

 
3条回答
  •  北海茫月
    2020-12-16 07:31

    As long as your conf is

    AddType application/x-mpegURL .m3u8
    AddType video/MP2T .ts
    

    it should work for apache. I'm not sure if it's your .ts or .m3u8 problem, so I suggest the following:

    • Download example .ts and .m3u8 file from Apple and test them on your server
    • check if there is empty lines in the index file, as this question

提交回复
热议问题