I have a CDN that serves videos to my Flutter application. The videos are around 20-30MB. Is there a way to instead of downloading the entire video before playing it, download the video in pieces, and immediately output the first piece to the user?
Just like http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4, doesn't download the 300MB video if you play it in the browser, but dowloads it in portions?
I tried different video players (video_player, cached_video_play, better_player...) and tried experimenting with different request headers for the CDN. Nothing seems to work.
Any suggestions?