mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Vorbis decoder in android MediaCodec [1] expects the last 4 bytes of the sample to be the number of samples in the current page. This definition holds good only for Ogg and is irrelevant for WebM. So we always set this to -1 (the decoder will ignore this value if we set it to -1). The android platform media extractor [2] does the same. |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||