How to decrease recorded video size from safari before uploading to cloudinary in react project?
I have react project where I am using firebase as backend, the project main purpose is to record short videos for business. I have used react media library to record videos from camera so when user recorded videos I get the blob file I convert it to. base64 before upload so 1 min video has a size of less then 2 mb which easily and fastly uploaded to cloudinary in less than 15s but it happens only from chrome when we record videos from safari even 30s video taking 3 to 4 min to upload to cloudinary bcz video recorded from safari are big like 30s video have 60mb size so its taking too much time to upload to cloudinary I tried to trnasform video through upload preset but its still taking too much time plz help
I posted the pic below see the difference safari recorded videos are big how to I decrease size while keep the best quality so it can upload fast like from chrome