Troy
08/01/2022, 5:07 PMBrendan Irvine-Broque
08/01/2022, 5:10 PMDeleted User
08/04/2022, 1:15 PMreadyToStream
Isaac McFadyen | YYZ01
08/04/2022, 1:19 PMSakuraFC
08/06/2022, 10:54 AMzegevlier
08/06/2022, 10:55 AMErisa | Support Engineer
08/06/2022, 11:42 AMErisa | Support Engineer
08/06/2022, 11:43 AMstream.4k
but 👀 i dont know if it does anything yet or how one would get it if it does1mdev
08/08/2022, 1:06 PMMumutii
08/11/2022, 1:19 AMIsaac McFadyen | YYZ01
08/11/2022, 1:30 AMIsaac McFadyen | YYZ01
08/11/2022, 1:31 AMMumutii
08/11/2022, 1:31 AMjoshh
08/11/2022, 8:47 AMasync function uploadVideo(e) {
// Get the selected file from the input element
var file = e.target.files[0]
if (!file) {
return;
}
const uploadLink = await getUploadLink(file.size);
if (uploadLink == null) { alert(`[error]: Could not find drop point.`); }
// Create a new tus upload
var upload = new tus.Upload(file, {
endpoint: uploadLink,
retryDelays: [0, 3000, 5000, 10000, 20000],
metadata: {
filename: file.name,
filetype: file.type
},
onError: function(error) {
console.log("Failed because: " + error)
},
onProgress: function(bytesUploaded, bytesTotal) {
var percentage = (bytesUploaded / bytesTotal * 100).toFixed(2)
console.log(bytesUploaded, bytesTotal, percentage + "%")
},
onSuccess: function() {
console.log("Download %s from %s", upload.file.name, upload.url)
}
})
// Check if there are any previous uploads to continue.
upload.findPreviousUploads().then(function (previousUploads) {
// Found previous uploads so we select the first one.
if (previousUploads.length) {
upload.resumeFromPreviousUpload(previousUploads[0])
}
// Start the upload
upload.start()
})
}
joshh
08/11/2022, 8:47 AMjoshh
08/11/2022, 8:48 AMIsaac McFadyen | YYZ01
08/11/2022, 12:21 PMIsaac McFadyen | YYZ01
08/11/2022, 12:21 PMsize
to the TUS client tooIsaac McFadyen | YYZ01
08/11/2022, 12:22 PMresume
)joshh
08/11/2022, 12:32 PMjoshh
08/11/2022, 12:32 PMjoshh
08/11/2022, 12:32 PMIsaac McFadyen | YYZ01
08/11/2022, 12:33 PMfile.size
poacher2k
08/14/2022, 7:09 AMstripe listen
that forwards webhooks to a local URL, or is there another best practice?kev-ac
08/14/2022, 11:10 AMkev-ac
08/14/2022, 11:11 AMkev-ac
08/14/2022, 11:12 AMcloudflared tunnel --url {Your local app URL with port}
gotfredsen
08/14/2022, 11:18 AMgotfredsen
08/14/2022, 11:18 AMkev-ac
08/14/2022, 11:21 AM