PDA

View Full Version : Looking for live extraction ideas



dburckh
09-05-2007, 10:56 PM
I'm trying to find a way to "tail" a live recording. The end goal of this is to do real or near real time extraction of a file. Currently I'm using mfs_uberexport. The problem is that the extraction occurs faster than the recording, so it hits the end of the recording and stops extracting.

I could do something brute force like continually polling /Recording/InProgress and use mfs_uberexport -s to continue, but it seems a bit brute force. I'm looking for something a little more elegant.

I did notice that the RecordingPart.end updates, but it seems pretty sporadic and sometimes isn't populated. The StreamFileSize seems to update even less often.