I have a rclone service run on linux. Mp4 file on server will stream over Apache2 on http protocol all my device android, mac os x or windows are working normal but it have problem on ios. I have 2 iphone
ip5 run ios 11 and it can view mp4 file normally
ip6 plus run ios 12 it can not load mp4 file anymore. It happen on any device run ios 12
All browser: safari, chrome, firefox, opera isn’t work
But if i use vlc it is working normal
I already try rclone serve http but they are the same, it still need param --vfs-cache-mode=full to load on IOS
do you know any thing about this, it special happen on IOS 12.1 only, lower OS is working normal
I have to say they look almost identical. In both I can see the browser requesting the stream and rclone delivering it - about 500k before the browser decides it has had enough and closes the connection.
So I don’t think this is due to the way rclone is serving the file (I could be wrong though!)
The one thing that might be relevant is in the file that didn’t play there is a pause of over a second in the data transfer. I wonder if that is causing the problem - the data not being delivered quick enough.
You could try experimenting with --buffer-size - try --buffer-size 0 and see if that makes a difference.
Also try experimenting with --vfs-read-chunk-size and --vfs-read-chunk-size-limit
When you play the file does it start playing and then stop? If so can you try start playing it then pause it immediately wait for a bit then unpause?
How about if you copy the file to a local machine say to /tmp/files/file.mp4 then run rclone serve http /tmp/files - does that work? I’m assuming you are serving the file from a remote cloud storage system - this will tell us whether it works without.
Another thing you could try is use rclone mount to mount the remote cloud storage system then use apache to serve that.
i can see that if i use these parameter --vfs-cache-mode=full it can work but look like it copy file to local when i request file over http, although iphone need to wait along time to cache file to server but it work normal, some time it wait more than one minutes