Interface IStreamRecorderFileVersionDelegate

  • All Known Implementing Classes:
    StreamRecorderFileVersionDelegate, StreamRecorderSimpleFileVersionDelegate

    public interface IStreamRecorderFileVersionDelegate
    This interface is used to implement a custom file versioning scheme during live stream recording.
    The getFilename method is called under 2 conditions
    1 - when a recorder needs to create a new output file, and an file already exists by the same name.
    2 - when a recorder creates a new file and has been configured to use any segmentationType other than none

    The string returned must be a valid and fully qualified filename, including the full path.

    For example:
    c:\test\myFile.flv
    usr/home/content/myFile.mp4

    See Also:
    StreamRecorderParameters.segmentationType
    • Method Detail

      • getFilename

        String getFilename​(IStreamRecorder recContext)
        Parameters:
        recContext - The IStreamRecorder requesting the file name
        Returns:
        String The versioned file name