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

provide methods to compress and deflate the JSON data #33

Open
ngokevin opened this issue Jul 19, 2017 · 1 comment
Open

provide methods to compress and deflate the JSON data #33

ngokevin opened this issue Jul 19, 2017 · 1 comment

Comments

@ngokevin
Copy link
Collaborator

Looking into how best to do this (GZIP/binary/etc), but a raw 15-20 second recording with a camera and two hands is 2MB. For uploading to services like myjson.com or rawgit.com, their maximum is around 1MB. Also nice to compress them to be easily stored within GitHub pages.

The replayers should also be able to detect whether the data is passed via JSON or some compressed format and automatically deflate.

I see there's some code for a binary option in the components, but doesn't look like it's being used or is active.

@ngokevin
Copy link
Collaborator Author

Perhaps I can use uploadcare instead of myjson, just need a key.

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

1 participant