From ff7defa84e66071fc78e402c307828d0703278ed Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 13 Mar 2020 14:46:20 -0400 Subject: [PATCH] re-enable fragmented mp4 recordings --- src/zm_videostore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index ad04124fa..6acee0cfd 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -409,7 +409,7 @@ bool VideoStore::open() { AVDictionary *opts = NULL; // av_dict_set(&opts, "movflags", "frag_custom+dash+delay_moov", 0); // Shiboleth reports that this may break seeking in mp4 before it downloads - //av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov", 0); + av_dict_set(&opts, "movflags", "frag_keyframe+empty_moov", 0); // av_dict_set(&opts, "movflags", // "frag_keyframe+empty_moov+default_base_moof", 0); if ( (ret = avformat_write_header(oc, &opts)) < 0 ) {