Skip to content
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

Byte-range support for iOS compatibility #171

Closed
beevelop opened this issue Oct 7, 2020 · 2 comments
Closed

Byte-range support for iOS compatibility #171

beevelop opened this issue Oct 7, 2020 · 2 comments

Comments

@beevelop
Copy link

beevelop commented Oct 7, 2020

There were already a few discussions about supporting Byte-range (content-range / partial-range) a few years ago. For now, tus and tusd don't implement support for it, which is understandable in the respective context:

The decision to not support Byte-range leads to another nasty side-effect on our "favourite" mobile operating system iOS: Media files (audio / video) stored on tus can not be played on iOS!

HTTP servers hosting media files for iOS must support byte-range requests, which iOS uses to perform random access in media playback. (Byte-range support is also known as content-range or partial-range support.) Most, but not all, HTTP 1.1 servers already support byte-range requests.

This renders tus unusable for e.g. storing video / audio notes through a mobile app and enabling the user to play the respective files without downloading them in advance.

@smatsson
Copy link

smatsson commented Oct 8, 2020

Hi,

This seems unrelated to this repository as tus is a protocol for file uploads and you are asking for are headers related to downloading files which is out of scope for the protocol.

I think your chances are better at getting a response if asked in the specific server implementation being used (e.g. https://github.com/tus/tusd).

@beevelop
Copy link
Author

beevelop commented Oct 8, 2020

Thank you @smatsson for the heads-up. I close this one in reference to tus/tusd#432 👍

@beevelop beevelop closed this as completed Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants