Wowza Community

How to find out when the write to the streamed video file ends in the vi application?

I am writing streaming video to the video.flv file. Then I need to make a copy of this file. But sometimes a copy is created before the video recording ends. How to find out when the write to the streamed video file ends in the vi application? I am writing asp.net app on c# language

If you are familiar with the Wowza Java API, you can implement the onWriteComplete method; see https://www.wowza.com/docs/how-to-use-imediawriteractionnotify-to-programmatically-move-and-rename-recordings-of-live-streams