Hi,
the freeze / resume problems happens for us too for some streams and you get dropped (D) frames in your records.In such cases you should use own record paramter commands for ffmpeg (rec / fix on fly) or you need to re-encode your records to remove that frames.So you can test around with these examples.
Code:
https://stackoverflow.com/questions/37088517/ffmpeg-remove-sequentially-duplicate-frames
So with this you get the frames removed and the video runs liquid without any stops / resume issues.Just check out whether it makes sense for your records to do that,so if you have a lot of long time freezes then it makes not much sense.Anyway,just test it a little.
greetz