mirror of
https://github.com/samsonjs/media.git
synced 2026-04-14 12:45:47 +00:00
For out of order B-frames, the samples comes out of order and hence
presentation timestamps are not strictly increasing.
This can be verified by adding following assertion in `writeSampleData()` API
either in `MuxerWrapper` or in `Muxer API`.
```
checkArgument(
bufferInfo.presentationTimeUs > lastSamplePresentationTimeUs,
"Out of order B-frames are not supported");
```
PiperOrigin-RevId: 589152093
|
||
|---|---|---|
| .. | ||
| main | ||
| withMediaPipe | ||