mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 22:39:42 -05:00
Add estimated file size to stream API responses #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @easrng on GitHub (Feb 19, 2023).
For streamDefault just pass through the Content-Length header, for the rest parsing the ffmpeg output might be required. I can send a PR, do you have example URLs/settings for all the different types?
@easrng commented on GitHub (Feb 19, 2023):
I have streamDefault and streamAudioOnly working (i'm sending a Cobalt-Estimated-Size header) (streamDefault already has Content-Length too)
@easrng commented on GitHub (Feb 20, 2023):
what code formatter do u use btw
@wukko commented on GitHub (Feb 20, 2023):
just my head really, dont know of any that wouldn't piss me off
@wukko commented on GitHub (Feb 20, 2023):
there are many variations of requests in tests, they might be useful to you