STREAM Direct User Uploads - Not TUS enabled?

Just curious is the endpoint: https://api.cloudflare.com/client/v4/accounts/{account_id}/media/direct_upload

Not TUS enabled ?

works fine as I use the fetch example,

but when i try to use TUS i get errors.

Alice

Where did you get this endpoint from?

https://api.cloudflare.com/#stream-videos-create-a-video-and-get-authenticated-direct-upload-url seems to refer to “/stream/direct_upload”, not “/media/direct_upload”.

Also, as far as I understand that endpoint does not take a file but only returns a URL where you can then directly upload the video.

TUS, on the other hand, appears to go to “/media” only

My fault I made a copy and past mistake
should have been the URL: https://upload.videodelivery.net/{UNIQUENUMBER}

Just trying to send a file directly from browser to Stream,
after i received unique one-time upload URL (I do get the unique url & uid)

But when I sent the file using TUS, then i get an error.
Not when i use the fetch method as you can find on the documentation: https://developers.cloudflare.com/stream/direct-user-uploads/

So i am wondering if https://upload.videodelivery.net/{UNIQUENUMBER} is not TUS enabled…

When i try uploading with tus i get error: 400 Decoding Error. So, is it TUS enabled?

Are there any updates on this? We have the same issue, TUS uploads to a signed direct user upload endpoint always return 400 Decoding Error while CURL uploads work fine.

they’ve said it only works with basic http post upload but it’s not. i didn’t try with curl, only with tus and pure html form and didn’t work.

Direct uploads only work with basic uploads (or as @JDuncan-V said, cURL uploads):

curl -X POST \
-F [email protected]/Users/mickie/Downloads/example_video.mp4 \
https://upload.videodelivery.net/f65014bc6ff5419ea86e7972a047ba22

This means that only video sizes up to 200MB can be uploaded using direct uploads.

We’re working on getting support for TUS support for direct uploads for users who’d like to support larger file uploads through their own website.

Hey @renan, is there any rough timeline for when the large (>200mb) direct uploads feature will be available ? cheers