flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
597 stars 40 forks source link

Cache exoplayer videos for better loading and seeking performance #204

Closed ephemer closed 6 years ago

ephemer commented 6 years ago

Fixes #145

Type of change: Feature

Motivation

We do a lot of waiting for Videos that are already loaded. In fact, the current implementation only holds a short buffer of the current video in memory and throws the rest away. This change should therefore greatly reduce mobile data usage while increasing performance.