mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-19 13:25:46 +00:00
chore: add more keyframes
This commit is contained in:
@ -643,7 +643,7 @@ fn get_variants_from_endpoint<'a>(
|
|||||||
codec: "libx264".to_string(),
|
codec: "libx264".to_string(),
|
||||||
profile: 77, // AV_PROFILE_H264_MAIN
|
profile: 77, // AV_PROFILE_H264_MAIN
|
||||||
level: 51,
|
level: 51,
|
||||||
keyframe_interval: video_src.fps as u16 * 2,
|
keyframe_interval: video_src.fps as u16,
|
||||||
pixel_format: AV_PIX_FMT_YUV420P as u32,
|
pixel_format: AV_PIX_FMT_YUV420P as u32,
|
||||||
}));
|
}));
|
||||||
dst_index += 1;
|
dst_index += 1;
|
||||||
|
Reference in New Issue
Block a user