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

Media storage provider functionality is not documented #17193

Open
anoadragon453 opened this issue May 14, 2024 · 0 comments
Open

Media storage provider functionality is not documented #17193

anoadragon453 opened this issue May 14, 2024 · 0 comments

Comments

@anoadragon453
Copy link
Member

"Media storage providers" are external modules that can be used to store and fetch media from sources other than the local filesystem. One popular example is https://github.com/matrix-org/synapse-s3-storage-provider/, which allows you to store media on Amazon S3, and fetch it when requested.

The Synapse documentation doesn't mention this functionality at all currently, which makes it unclear to Synapse developers that it exists, and unknown to third-party developers that they can develop these things.

A media storage provider module must implement the StorageProvider class (store_file and fetch_media). Media storage providers installed into the Python environment can be configured through Synapse's config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant