Fix support for keyframes

This commit is contained in:
Kamil Trzcinski
2022-04-10 14:29:22 +02:00
parent 885ec79f5b
commit b21ddd2519
3 changed files with 13 additions and 10 deletions

View File

@ -125,6 +125,7 @@ int camera_set_params(camera_t *camera)
device_set_option_string(camera->codec_h264, "video_bitrate_mode", "0");
device_set_option_string(camera->codec_h264, "video_bitrate", "5000000");
device_set_option_string(camera->codec_h264, "repeat_sequence_header", "1");
device_set_option_string(camera->codec_h264, "h264_i_frame_period", "30");
device_set_option_string(camera->codec_h264, "h264_level", "11");
device_set_option_string(camera->codec_h264, "h264_profile", "4");