Make default keyFrameInterval 2 seconds to align with default HLS segment duration

This commit is contained in:
Vanilagy
2026-04-13 17:47:48 +02:00
parent 2a2b6450c9
commit c6e505a6fe
6 changed files with 65 additions and 6 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ export type VideoEncodingConfig = {
*/
bitrate: number | Quality;
/**
* The interval, in seconds, of how often frames are encoded as a key frame. The default is 5 seconds. Frequent key
* The interval, in seconds, of how often frames are encoded as a key frame. The default is 2 seconds. Frequent key
* frames improve seeking behavior but increase file size. When using multiple video tracks, you should give them
* all the same key frame interval.
*/