mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 08:43:49 +02:00
Add support for writing I-frame only tracks, fix track closing race conditions in other muxers
This commit is contained in:
@@ -232,6 +232,11 @@ export type VideoTrackMetadata = BaseTrackMetadata & {
|
||||
* with the same timestamp.
|
||||
*/
|
||||
frameRate?: number;
|
||||
/**
|
||||
* When true, this track is marked as being made only out of key frames (I-frames). It is an error to add a non-key
|
||||
* frame to this track.
|
||||
*/
|
||||
hasOnlyKeyPackets?: boolean;
|
||||
};
|
||||
/**
|
||||
* Additional metadata for audio tracks.
|
||||
|
||||
Reference in New Issue
Block a user