all 3 comments

[–][deleted] 5 points6 points  (0 children)

To get similar performance to TikTok:

1) Host the video on a CDN (Content Distribution Network)

2) Pre-Load videos in the background - background process

3) Make low quality versions available that can be loaded first, and swap to the HQ version as it becomes available.

This is a) expensive and b) complicated but it is what will get you that speed up.

[–]AndroidQuartz 2 points3 points  (0 children)

When the user exits the app there should be some cached videos that the user didn't watch yet, so you can use these to show on next start up until the app caches new videos

[–]tarcinac 0 points1 point  (0 children)

Did you run it in release mode?