Inspired by https://github.com/WowzaMediaSystems/wse-plugin-autorecord
With this addon you can use this template strings in your Stream Recorder on your Application when you set the "streamRecorderOutputFile" in Application properties or "File Name" in record popup menu.
- ${YYYY} - year of record
- ${MONTH} - month of record
- ${DAY} - day of record
- ${HH} - hours of record
- ${MM} - minutes of record
- ${SS} - seconds of of record
- ${millis} - millis of record
- ${SegNum} - Segment number
- ${StreamName} - name of incoming stream
- ${SegDur} - segment duration, (from properties)
- ${SegEndHH} - real segment end time hours (without Custom recorder listener always calculated from SegDur)
- ${SegEndMM} - real segment end time minutes (without Custom recorder listener always calculated from SegDur)
- ${SegEndSS} - real segment end time seconds (without Custom recorder listener always calculated from SegDur)
With this addon recorder renames output file after RecStop or Split operation to edit ${SegEndHH} or ${SegEndMM} or ${SegEndSS}
- Copy compiled .jar File from ./lib to your {wowza installation folder}/lib and restart Wowza
- set streamRecorderNotifyListener as com.semenovnick.wowza.CustomRecorderListener
- set streamRecorderFileVersionDelegate as com.semenovnick.wowza.CustomFileVersionDelegate
Use Eclipse IDE with Wowza IDE. Use Java Compiler 1.8 (https://www.wowza.com/docs/how-to-extend-wowza-streaming-engine-using-the-wowza-ide)