mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-27 17:56:23 +03:00
004ff8dfd2
`Mp4Generator.box()` merges all arguments into one `Uint8Array`, so arrays of `Uint8Arrays` can be spread directly into the `Mp4Generator.box()` calls instead of doing the extra step of merging them into a single `Uint8Array` first. I also included a drive-by change to simplify `array.push(...[x, y])` into `array.push(x, y)` in the `segmentData` method.