Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow when stream video from supabase storage

I always get lag or buffer when playing video (size 28 Mb) from supabase storage in my mobile application. Every each lag can takes about 1 or 2 seconds, its not good for UX. I'm in free tier, if pro plan can resolve my problem, i will upgrade my subscription.

Can anyone explain what happened? or same experience as me?

Test in real devices : Samsung A50 and Realme 8

Connection speed (speed.googlefiber.net) :

  1. 215 ping to Los Angeles
  2. Download 16.4 Mbps
  3. Upload 24.5 Mbps
like image 766
ryandra Avatar asked Dec 05 '25 13:12

ryandra


1 Answers

More than a week, and finally i can resolve it. It isn't about supabase server, device, internet speed or free tier, but the problem come from the "video".

I change the bitrate of video to more lower using ffmpeg and it works.

when converting a video for online streaming, a lower bitrate may help reduce load times.

like image 56
ryandra Avatar answered Dec 08 '25 05:12

ryandra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!