mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
aded252e40
This refactors the storage mechanism so that the method that attaches a segment to the manifest is be a stateless async method, and no longer needs to be in the same session as the method that stored the manifest. This is the end of phase one of the work towards allowing Shaka Player to use background fetch to store assets offline. This change will allow a service worker to store the segments as they are downloaded, without having to keep the Shaka Player instance alive. Issue #879 Change-Id: I6a3545c57bacaf7229fe8c32669e88c6cc4e4138