public class StreamRecorderSimpleFileVersionDelegate extends com.wowza.wms.livestreamrecord.model.LiveStreamRecordSimpleFileVersionDelegate implements IStreamRecorderFileVersionDelegate
This delegate uses the simple file versioning method to generate a file version name. The simple method is to version the existing file and always use the "basename" for the current file
Simple File Versioning:
The simple file versioning scheme attempts to resolve file name conflicts by appending "_1" to the end of the existing file, so that the current recording can use the requested file name. If a file by that name already exists the appended number will be incremented and renaming will be tried again. This will continue until a non-conflicting file name is found.
For example: if the file name is "myStream.flv", and that file already exists, "myStream_1.flv" will be tried. If that still conflicts with an existing file, "myStream_2.flv" will be tried. This process continues until a non conflicting name is found. The recorder will then record to "mystream.flv"
|Modifier and Type||Method||Description|
Versions the existing file by appending _#, and returns the original file name for use as the current file.
public String getFilename(IStreamRecorder recContext)