-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi @jaredsinclair
Thank you very much for this example as well as your blogpost.
It has been very helpful for me to implement a delegate similar to the one from your sodes example.
However, i do have a problem: The data request ALWAYS ask for the entire length of the file.
Even if the file is several gigabytes long (e.g. 2gb) , and I return that length in then content info request (as well as setting isByteRangeSupported=true). The subsequent call to a data request will be from 0 to 2gb, and if I seek with avplayer then data request will be e.g. 1mb to 2gb that is always to the end of the file. The requestsAllDataToEndOfResource property of dataRequest is always true.
Do you have any idea what I could be doing wrong? I doesn't seem right that I should implement buffering in the delegate...
Cheers,
Morten