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

Refactor sending audio in TracksController by switching back to Rack::Files #682

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

chvp
Copy link
Member

@chvp chvp commented Nov 13, 2024

Since we never do live transcoding anymore, we can simplify the way we send
audio data to clients a lot. We can remove the usage of ActionController::Live
and don't have to do any manual copying to and from streams, all by just
switching back to Rack::Files.

Fixes #649.

@chvp chvp added the chore Repository or build maintenance label Nov 13, 2024
@chvp chvp requested a review from robbevp November 13, 2024 15:51
@chvp
Copy link
Member Author

chvp commented Nov 13, 2024

FYI, this was the previous implementation for simple file serving, but this was refactored out in #216.

@chvp chvp force-pushed the chore/refactor-audio-with-file branch 4 times, most recently from 8194c11 to c385ff2 Compare November 13, 2024 16:33
…:Files

Since we never do live transcoding anymore, we can simplify the way we send
audio data to clients a lot. We can remove the usage of `ActionController::Live`
and don't have to do any manual copying to and from streams, all by just
switching back to Rack::Files.
@chvp chvp force-pushed the chore/refactor-audio-with-file branch from c385ff2 to 9c5d942 Compare November 13, 2024 16:36
@robbevp robbevp merged commit 035da33 into main Nov 13, 2024
4 checks passed
@robbevp robbevp deleted the chore/refactor-audio-with-file branch November 13, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Repository or build maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor TracksController#audio_with_file
2 participants