Version
2.5.6
Environment that reproduces the issue
nodejs v20.11.1
typescript v5.3.3
Is it reproducible in the example application?
Yes
Reproduction steps
const client = new ApiVideoClient({ apiKey: "YOUR_API_KEY"});
const token="TOKEN"
const file="a file bigger than chunk size.mp4"
await client.videos.uploadWithUploadToken(token, file);
Expected result
a working video object
Actual result
ES: if the file is divided in 4 chunks than 4 video object are created.
and none of them are working
this is the method resulting object:
{
videoId: 'vi2AzYUF1JDmzt8XnuXUdHpJ',
createdAt: undefined,
title: undefined,
description: undefined,
publishedAt: undefined,
updatedAt: undefined,
tags: undefined,
metadata: undefined,
source: undefined,
assets: undefined,
playerId: undefined,
_public: undefined,
panoramic: undefined,
mp4Support: undefined
}
Additional context
No response
Relevant logs output
No response
Version
2.5.6
Environment that reproduces the issue
nodejs v20.11.1
typescript v5.3.3
Is it reproducible in the example application?
Yes
Reproduction steps
Expected result
a working video object
Actual result
ES: if the file is divided in 4 chunks than 4 video object are created.
and none of them are working
this is the method resulting object:
Additional context
No response
Relevant logs output
No response