You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stream.StreamInitiateTUSVideoUpload currently allows you create a video stream
for upload using TUS protocol. Due to lack of maxDurationSeconds, the streams
created (for direct_user=true) results in maxDurationSeconds=14400 which
takes the video billing quota until the video is uploaded. This PR adds supports to
pass additional params MaxDurationSeconds and Expiry in TUSUploadMetadata
to add appropriate functionality to the newly created stream/video.
Use cases
When creating multiple direct_user=true TUS uploads, it's necessary to explicitly
pass the duration of the video to accurately account against the quota. Lack of this
functionality results in default maxDurationSeconds that quickly takes the quota,
often resulting in error due to over budget.
Current cloudflare-go version
0.77.0
Description
stream.StreamInitiateTUSVideoUpload
currently allows you create a video streamfor upload using TUS protocol. Due to lack of
maxDurationSeconds
, the streamscreated (for
direct_user=true
) results inmaxDurationSeconds=14400
whichtakes the video billing quota until the video is uploaded. This PR adds supports to
pass additional params
MaxDurationSeconds
andExpiry
inTUSUploadMetadata
to add appropriate functionality to the newly created stream/video.
Use cases
When creating multiple
direct_user=true
TUS uploads, it's necessary to explicitlypass the duration of the video to accurately account against the quota. Lack of this
functionality results in default maxDurationSeconds that quickly takes the quota,
often resulting in error due to over budget.
Potential cloudflare-go usage
References
No response
The text was updated successfully, but these errors were encountered: