Media files in Gaia

#1

@jude
Quick question, can we store media files like music/ video data in GAIA.
Will it be encrypted ?
If so how the encryption is done and are there any specific configuration that needs to be done for this?

Please let us know.

#2

You can store media and music files. Encryption is no different than other file types. putFile is configured to encrypt files by default unless you set the encrypt option to `false. You should be aware that there is a file size limit on the Blockstack PBC provided gaia hub that will likely make it impractical to store large video files.

#3

Thanks @larry May I know the size limit.

#4

I referred this post: Any data storage limit for current default Blockstack Gaia hub?

The size limit is 5 MB.

Any chance that this can be increased or in future road map.

#5

The size limit is actually 25MB. But, this is specific to the public Gaia hub that Blockstack PBC runs. If you want to remove this limit, you’ll need to run your own hub (instructions here).

#6

You can also separate the files into blobs of 5-25mb and then put them back together on the client side. Might even help with streaming/buffering things, who knows.

1 Like
#7

This is exactly how common web video streaming formats like HTTP Live Streaming and Dash - they device video up into many small files and devices download each file as it is needed.

1 Like
#8

@jude Why can I upload over 25Mb files when I use xor drive(https://xordrive.io/) ?

#9

Thanks @larry & @MichaelFedora and yes I got the funda with video blobs.
@jude The link is not reachable.

#10

They split the files up into smaller chunks before storing.

#11

Yes, we split the files into chunks before storing.