in iOS10 videos not playing with X-Accel-Redirect

We use protected directories on nginx to offer client specific videos (mp4), using X-Accel-Redirect. On iOS 10 they don't play anymore - everything works fine on iOS 9.x and all desktop browsers, mac and pc. We already tried Firefox app and Chrome app, same behaviour, so it's not Safari specific but iOS 10. We debugged all passed variables, everything is correct. This issue only appears on protected videos. Other non-protected videos, that don't pass the X-Accel-Redirect are playing normally.


nginx 1.6.2, Debian 3.16.7, PHP 5.6.24, SSL


mabe related:

https://forums.developer.apple.com/thread/63652

https://forums.developer.apple.com/thread/60688

https://forums.developer.apple.com/message/178756

http://stackoverflow.com/questions/39522844/ios-10-wont-send-session-id-when-trying-to-deliver-mp4-via-x-sendfile

Replies

Same problem .. 😟

I'll see with my developper

did you try on https plateform? perhaps https is mandatory on iOs10?


Dr Charles Paoli

www.docadoc.com/icodoc

Yes, we use https - only.
There's another topic about this video problem - maybe you want to step in there, too:
https://forums.developer.apple.com/thread/51343

When logging the request from safari the server throws a 200. When quicktime opens the server throws a 401 ( Unauthorized) so it seems cookies for the domain are not send by quicktime on iOs 10

Hey,

We are facing a similar issue. I filed a bug report with Apple about it at the time. It appears to be fixed in the iOS 10.2 betas. Not that it's a fix until that releases but perhaps see if it works there.