iOS Question Download video timeout question

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
I'm using a modified version of the ImageDownloader code to download videos from an amazon S3 bucket. The only difference is that the returned file is saved to the disk rather than saved in a KVS.

In all I am downloading 6 videos which vary in size from 50MB to 100MB.

On Android the code works fine. All videos downloaded no problem.

On iOS I occasionally get timeout errors being returned.

A second attempt to download the video succeeds.

Even when the download works it is significantly slower than on Android.

Is this expected behaviour?

I'm running an iPhone 5S on 10.3 vs HTC one M7

Thanks
 

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
Thanks Erel,

It would seem the default timeout on Android is 30000 and on iOS is 60000.

I've upped it to 10 minutes and that seems to have done the trick :)

It is strange that android is so much quicker at the download.
 
Upvote 0
Top