Alternative way to fetch recordings #1
+152
−9
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.
Pull Request Description: Alternative Way to Fetch Recordings
Motivation
The current implementation of the
KerberosVault
class only allows fetching media directly from the storage service. However, in some scenarios, it is more efficient or necessary to retrieve a URL to the media file and then download the media separately. This pull request introduces an alternative method for fetching recordings, providing more flexibility in how media is retrieved and processed.Changes Introduced
New GitHub Actions Workflows:
.github/workflows/create-pr.yaml
to automate the building and pushing of Docker images when a pull request is created or synchronized..github/workflows/pr-description.yml
to autofill the PR description using OpenAI, ensuring consistency and saving time.KerberosVault Class Enhancements:
retrieve_media_url
method: Fetches the URL of the media file from the storage service.retrieve_media_through_url
method: Uses the URL fetched byretrieve_media_url
to download the media file.Why This Improves the Project
KerberosVault
class.By introducing these changes, the project becomes more robust, flexible, and easier to maintain, ultimately leading to a more efficient development process and better end-user experience.