Uploading the Video to s3 Bucket

Main AIM : Trying to upload the video to s3 bucket using serverless lambda

Issue : I was able to get the video from CRM and was able to upload the video to s3 bucket now the issue is I am not able to play the video because of encoding I also tried to use Buffer.from(document.data, ‘binary’);
Buffer(document.data, ‘binary’).toString(‘base64’);

also I am passing the content-type : video/mp4

but still not able to play the video could I get some help for this

Try checking this link

In case anyone want’s to upload file on AWS using C#

Thanks