Home > Net >  aws Presigned Url doesn't support videos that are more than 1 minute long
aws Presigned Url doesn't support videos that are more than 1 minute long

Time:02-11

enter image description hereWhen I tried creating Presigned URLs for my videos in s3 some of the video's presigned urls don't work. and It turned out that only URl of videos that are more then 1 minute long. Is there a problem on my side while creating the url or is it a restriction in AWS presigned URLs

CodePudding user response:

have you tried using readStream ?

rn-fetch-blob

Worked for me with having larger Videos or Images

CodePudding user response:

For S3 all files are object there is no any specific rule for image and video maybe your MIME type are property set because if there is signed url issue AWS provide the error access denied. you can confirm this with make this video pubic and try to run it I am sure after public access its not play so check below check points

  1. Check the video MIME type
  2. Check Video size its property uploaded or not
  3. If you upload video from local machine try to play is it correct formatted means play as expected or not.

Thanks

  • Related