I made a small update to node-red-contrib-mp4frag and its internal dependency mp4frag(@0.4.2) to better handle segment durations. Now, you should be able to send whole segments via mqtt and not lose the duration data on the subscribing side.
Copyright OpenJS Foundation and Node-RED contributors. All rights reserved. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.