-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello,
At present, you have only file based video upload API:
var localFilePath = "path/to/video_file.mov";
// Asynchronously
var response = await jwplatformApi.UploadAsync(videoInfo, localFilePath);However, there is a case, when you receive file via some API (like REST) from user, and you want to upload this video to https://www.jwplayer.com/. So, you have no this video on your disk, and you have 2 options. Either you need to save user video to the disk before uploading to jwplayer, or you cannot use jwplatformApi.UploadAsync() API.
I would like to have byte array based upload API. It may looks like this:
byte[] fileBytes = ...
var response = await jwplatformApi.UploadAsync(videoInfo, fileBytes);
Metadata
Metadata
Assignees
Labels
No labels