forked from 42wim/matterbridge
-
Notifications
You must be signed in to change notification settings - Fork 17
Implemented S3 client for mediaserver #39 #52
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
Open
Teeed
wants to merge
7
commits into
matterbridge-org:master
Choose a base branch
from
Teeed:mediaserver_GH-39
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
500effe
MediaServer: Current functionality + MINIO support 42wim#2213 GH-39
Teeed 6c41eff
MediaServer: remove minio client, which appears to bring dependencies…
Teeed 63785aa
Merge remote-tracking branch 'matterbridge-org/master' into mediaserv…
Teeed d4f2e92
Fix imports, to match current master
Teeed b9152ea
MediaServer: Some of linter suggestions
Teeed 7729689
MediaServer: Improved logging, removed almost useless `simpleS3Config…
Teeed 5d41e18
MediaServer: Missing S3 region configuration
Teeed File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this option useful? If so, in what cases? I tested and it works, but i have no idea why i would enable this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If presign is used only for garbage collection, maybe we should use the
mediaUploadPresignDurationsetting instead in the config. So if it's 0, no presign. If it's non-zero, enabled presign.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I have had enough: it is not for garbage collection. Why do you even review the PR when you do not have a basic understanding how S3 storage works and what are the design patterns for usage? If you have no idea why you would enable this maybe it is a good moment to read some of S3 docs and get better understanding about the feature? The same applies to
uploadPrefix.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because noone else is doing it. I don't pretend to know much about S3 beyond being an object storage. Feel free to educate me why we would be interested in creating temporarily-public links for files we're serving publicly. Likewise for the key prefix, i don't understand why it's useful since the key itself already contains a hash of the file which should be unique.
If that and
uploadPrefixare "advanced" settings most users should not care about, i'm OK to have that explained in the settings reference.I'm ready to read some docs if you provide context on the usecase so we can write good docs for matterbridge. I'm not interested in learning about the random protocol of the day just for the sake of it.
Thanks for taking the time to make this PR. I hope you realize we're all doing this on our free time and trying to make matterbridge better for everyone. A little empathy will take us further :)