Truncating the DVR files
I am working on an application that uses the new DVR capability of the Flash Media Interactive Server 3.5. My problem is that I cannot see any easy way to restrict the length/size of the recorded file without stopping the recording/publishing on the client side (this happens if one uses maxDuration or maxSize in Stream.record()). I am using the DVR functionality of the Flash Media Live Encoder 3 for recording/publishing.
My understanding is that to limit the size of the recorded file I need to somehow 1) stop the recording on the server side, 2) truncate the recorded file on the server side and 3) start appending the newly established recording to the truncated file. Consequently, I am wondering if it is possible to truncate the recorded files?
The basic idea with my application is that I am using Flash Media Live Encoder 3 for 24/7 style streaming of video with DVR capability. However, I need to be able to display only 5-10 hours from "now" to the past. Obviously, limiting the length of the recording is necessary for keeping the file sizes manageable.
Any help would be greatly appreciated. Thanks!
