MIke Rubin · Oct 28, 2010 at 10:30 PM ·
Wrong duration metadata on flv files
We have random cases during a stream recording where the duration written to the file in the metadata is incorrect. This only happens in about 10% of cases, but it causes playback issues because the duration property is incorrect.
We usually have a series of subsequent recordings during the same NetConnection, and it only happens on the first stream. Any ideas on why this could be happening?
Thanks for the quick reply! Would this hold true even if the subsequent files are not appending, but writing to a different filename?
I have seen the odd occasions where the publish events for the new stream on the server do occur before the unpublish events for the old stream which will possibly cause corruption as the camera is not getting disconnected cleanly from the old stream. With local testing, it is not a problem but when any latency is involved then it does become a problem.