mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
The mediaChunks.size() > 1 check was supposed to ensure this, and did roughly the right thing when there was only a single stream (although it was unnecessarily restrictive in preventing chunk cancelation for the first chunk, where bytesLoaded != 0 and none of the samples had been consumed). Now we have multiple streams the check doesn't do the right thing, and adding a back-buffer feature will make even more incorrect. This change switches to checking the condition we actually want to check directly :). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=174449398 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| README.md | ||