mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 22:03:49 +02:00
run -> GOP
This commit is contained in:
+3
-3
@@ -75,9 +75,9 @@ export abstract class Muxer {
|
|||||||
|
|
||||||
if (timestampInSeconds < timestampInfo.maxTimestampBeforeLastKeyFrame) {
|
if (timestampInSeconds < timestampInfo.maxTimestampBeforeLastKeyFrame) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Timestamps cannot be smaller than the highest timestamp of the previous run (a run begins with a`
|
`Timestamps cannot be smaller than the highest timestamp of the previous GOP (a GOP begins with a key`
|
||||||
+ ` key frame and ends right before the next key frame). Got ${timestampInSeconds}s, but highest`
|
+ ` frame and ends right before the next key frame). Got ${timestampInSeconds}s, but highest timestamp`
|
||||||
+ ` timestamp is ${timestampInfo.maxTimestampBeforeLastKeyFrame}s.`,
|
+ ` is ${timestampInfo.maxTimestampBeforeLastKeyFrame}s.`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user