-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios compatibility #10
Comments
the origin mp4 can download at here: |
Original mp4 is broken.
|
my output:
|
|
you may redownload the mp4 file. |
and here is a smaller file: |
I have fixed this bug. The problem is "Duplicate AUD nal unit problem". |
Apple ipad doesn't play for now , you have posted a hotfix? |
newestbie , i download your branch https://github.com/newestbie/nginx-hls-module , but when compile have issue |
i comment //#include "redefine.h" |
@arty777 this issue has nothing to do with the fixes that newestbie made. |
nginx conf include mime.types by default: |
In theory it does, but when you check the m3u8 location for your module with curl, you will find out that the content type header is missing. |
without 3-rd part module "headers_more" location /hdd0/{ curl -I http://192.168.88.2:81/hdd0/video/long.m3u8 HTTP/1.1 200 OK without curl -I http://192.168.88.2:81/hdd0/video/long.m3u8 |
You're right headers_more is not required, my mistake. I had to use it for other custom headers and used it for this header as well but you can do without, like you did. Your post however clearly shows what I meant ;) So including the Content-type header is for sure the solution. |
rounce , bug with last (today) commit |
Nice, root@strana:/usr/local/nginx/work/nginx1# curl -I http://192.168.88.2:81/hdd0/video/long.m3u8 work and compile fine , but still does't work on apple device , can anyone please test from apple device , any video from https://vkino.net , thank you |
When access from ipad i see this in log error log and wideo doesn't work on ipad , can you please help |
try to open up the direct m3u8 link in Safari on a Mac (not in another browser and not on a PC!) |
I forgot comment out #include "redefine.h" Can you play this url? |
@thevideoxpress @rounce my issue is not MIME issue. http://125.39.67.194:81/j.m3u8 made by rounce's original code. it can not play well on iOS. you can download the mp4 file at here: The mp4 file was copied from a flv file using "ffmpeg -a copy". |
@thevideoxpress , |
new news :) directly (.m3u8) work, after i change but in the same time i have this error on error.log on debug mode: |
please close issue , all files play on apple ios fine . |
http://125.39.67.194:81/j.m3u8 does this url play on apple ios fine? |
@newestbie , i see only black screen , but maybe this a connectivity issue ... or something else all video from https://vkino.net work fine from iPad ! (hls module work) |
some mp4 do not play well on iOS:
http://124.207.162.208:5678/hntv.m3u8
The text was updated successfully, but these errors were encountered: