shaka-player-embedded
shaka-player-embedded copied to clipboard
Better handling for OOM errors
trafficstars
Right now, if we run out of memory, the app crashes. We have some measures in place; for example, the sample app sets configuration values down when it receives a memory warning. Those measures aren't enough to really save us, though, and we tend to end up crashing. At the very least, we should automatically shut down the player object and display an error. That wouldn't be great, but it'd be better than the app crashing.