Interface IStreamRecorderConstants
- 
 public interface IStreamRecorderConstantsDefines the static constants used by the StreamRecorder system
 The Properties for StreamRecorders should be placed in application.xml within the StreamRecorder properties containerfor example: 
 </StreamRecorder>
 </Properties>
 </Property>
 </Name>streamRecorderDebugEnable</Name>
 </Value>true</Value>
 </Type>Boolean</Type>
 </Property>
  </Properties>
 </StreamRecorder>
- 
- 
Field SummaryFields Modifier and Type Field Description static StringAPPEND_FILEAppends new stream data to the existing file.static StringFORMAT_FLVstatic StringFORMAT_MP4static StringOVERWRITE_FILEOverwrites the existing file with the new filestatic StringPROPERTY_BACK_BUFFER_TIMEApplication Property"streamRecorderBackBufferTime": for specifying the number of milliseconds of packets to pull from the incoming stream buffer and write to file, before beginning the recording.static StringPROPERTY_DEBUG_ENABLEApplication Property"streamRecorderDebugEnable": for enabling additional log statements throughout StreamRecorderstatic StringPROPERTY_DEFAULT_AUDIO_SEARCH_POSITIONApplication Property"streamRecorderDefaultAudioSearchPosition": for specifying how audio is found when it may not be in sync with the videostatic StringPROPERTY_FILE_FORMATApplication Property"streamRecorderFileFormat": for specifying the default file format used by StreamRecorder.static StringPROPERTY_FILE_VERSION_DELEGATEApplication Property"streamRecorderFileVersionDelegate": for specifying a default custom file version delegate.static StringPROPERTY_FILE_VERSION_TEMPLATEApplication Property"streamRecorderFileVersionTemplate": for specifying a default file version template string.static StringPROPERTY_MOVE_FIRST_VIDEO_FRAME_TO_ZEROApplication Property"streamRecorderMoveFirstVideoFrameToZero": for specifying the default moveFirstVideoFrameToZero value used by StreamRecorder.static StringPROPERTY_NOTIFY_LISTENERApplication Property"streamRecorderNotifyListener": for specifying the default listener which will receive StreamRecorder notifications.static StringPROPERTY_OUTPUT_FILEApplication Property"streamRecorderOutputFile": for specifying the default filename used by StreamRecorder for recordings.static StringPROPERTY_OUTPUT_PATHApplication Property"streamRecorderOutputPath": for specifying the default path used by StreamRecorder to write recordings.static StringPROPERTY_RECORD_DATAApplication Property"streamRecorderRecordData": for specifying the default recordData value used by StreamRecorders.static StringPROPERTY_SEGMENT_DURATIONApplication Property"streamRecorderSegmentDuration": for specifying the default SegmentDuration used by StreamRecorder when the segmentationType is set to SEGMENT_BY_DURATION.static StringPROPERTY_SEGMENT_SCHEDULEApplication Property"streamRecorderSegmentSchedule": for specifying the default SegmentSchedule string used by StreamRecorder when the segmentationType is set to SEGMENT_BY_SCHEDULE.static StringPROPERTY_SEGMENT_SIZEApplication Property"streamRecorderSegmentSize": for specifying the default SegmentSize used by StreamRecorder when the segmentationType is set to SEGMENT_BY_SIZE.static StringPROPERTY_SEGMENTATION_TYPEApplication Property"streamRecorderSegmentationType": for specifying the default segmentation type used by StreamRecorder.static StringPROPERTY_SKIP_KEYFRAME_AUDIO_TIMEOUTApplication Property"streamRecorderSkipKeyFrameUntilAudioTimeout": for specifying how long audio is waited for.static StringPROPERTY_SPLIT_ON_TC_DISCONTINUITYApplication Property"streamRecorderSplitOnTcDiscontinuity": for specifying the default splitOnTcDiscontinuity value used by StreamRecorder.static StringPROPERTY_START_ON_KEYFRAMEApplication Property"streamRecorderStartOnKeyFrame": for specifying the default startOnKeyFrame value used by StreamRecorder.static StringPROPERTY_TIMESCALEApplication Property"streamRecorderTimescale": for specifying the timescale used when writing packets to a file.static StringPROPERTY_USE_SIMPLE_FILE_VERSION_NAMINGApplication Property"streamRecorderUseSimpleFileVersionNaming": for using StreamRecorderSimpleFileVersionDelegate instead of StreamRecorderFileVersionDelegate as the default file version naming delegatestatic StringPROPERTY_VERSIONING_OPTIONApplication Property"streamRecorderVersioningOption": for specifying the default file versioning method used by StreamRecordersstatic intRECORDER_STATE_ERRORValue returned by IStreamRecorder getRecorderState() to indicate an error has occurred in the recorder.static StringRECORDER_STATE_ERROR_STRINGString value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_ERROR.static intRECORDER_STATE_PENDINGValue returned by IStreamRecorder getRecorderState() to indicate the recorder has been created but it's IStreamRecorder startRecording() method has not yet been called.static StringRECORDER_STATE_PENDING_STRINGString value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_PENDING.static intRECORDER_STATE_RECORDINGValue returned by IStreamRecorder getRecorderState() to indicate the recorder is actively recording data to file.static StringRECORDER_STATE_RECORDING_STRINGString value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_RECORDING.static intRECORDER_STATE_WAITINGValue returned by IStreamRecorder getRecorderState() to indicate the recorder has been started but the associated stream is not currently being received by the server (for example the stream is not being published from the encoder)static StringRECORDER_STATE_WAITING_STRINGString value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_WAITING.static StringSEGMENT_BY_DURATIONstatic StringSEGMENT_BY_SCHEDULEstatic StringSEGMENT_BY_SIZEstatic StringSEGMENT_NONEstatic StringVERSION_FILEUses the file name returned by the configured fileVersionDelegate to version the new file
 
- 
- 
- 
Field Detail- 
PROPERTY_DEBUG_ENABLEstatic final String PROPERTY_DEBUG_ENABLE Application Property"streamRecorderDebugEnable": for enabling additional log statements throughout StreamRecorderAdd the property to the StreamRecorder Properties section of Application.xml. Default value is false 
 Valid values are true or false- See Also:
- Constant Field Values
 
 - 
PROPERTY_USE_SIMPLE_FILE_VERSION_NAMINGstatic final String PROPERTY_USE_SIMPLE_FILE_VERSION_NAMING Application Property"streamRecorderUseSimpleFileVersionNaming": for using StreamRecorderSimpleFileVersionDelegate instead of StreamRecorderFileVersionDelegate as the default file version naming delegateAdd the property to the StreamRecorder Properties section of Application.xml. Default value is false 
 Valid values are true, false
 - 
PROPERTY_SEGMENTATION_TYPEstatic final String PROPERTY_SEGMENTATION_TYPE Application Property"streamRecorderSegmentationType": for specifying the default segmentation type used by StreamRecorder.Add the property to the StreamRecorder Properties section of Application.xml. Valid values are: none, schedule, size, duration 
 - 
SEGMENT_NONEstatic final String SEGMENT_NONE - See Also:
- Constant Field Values
 
 - 
SEGMENT_BY_SCHEDULEstatic final String SEGMENT_BY_SCHEDULE - See Also:
- Constant Field Values
 
 - 
SEGMENT_BY_SIZEstatic final String SEGMENT_BY_SIZE - See Also:
- Constant Field Values
 
 - 
SEGMENT_BY_DURATIONstatic final String SEGMENT_BY_DURATION - See Also:
- Constant Field Values
 
 - 
PROPERTY_FILE_FORMATstatic final String PROPERTY_FILE_FORMAT Application Property"streamRecorderFileFormat": for specifying the default file format used by StreamRecorder.Add the property to the StreamRecorder Properties section of Application.xml. Valid values are: flv, mp4 
 - 
FORMAT_FLVstatic final String FORMAT_FLV - See Also:
- Constant Field Values
 
 - 
FORMAT_MP4static final String FORMAT_MP4 - See Also:
- Constant Field Values
 
 - 
PROPERTY_VERSIONING_OPTIONstatic final String PROPERTY_VERSIONING_OPTION Application Property"streamRecorderVersioningOption": for specifying the default file versioning method used by StreamRecordersAdd the property to the StreamRecorder Properties section of Application.xml. Valid values are: version, append, overwrite 
 - 
VERSION_FILEstatic final String VERSION_FILE Uses the file name returned by the configured fileVersionDelegate to version the new file
 - 
APPEND_FILEstatic final String APPEND_FILE Appends new stream data to the existing file. NOTE: To ensure playback compatibility, it is highly recommended that this option only be used if all streams recorded to the file will be using identical video and audio codecs and configurations.- See Also:
- Constant Field Values
 
 - 
OVERWRITE_FILEstatic final String OVERWRITE_FILE Overwrites the existing file with the new file- See Also:
- Constant Field Values
 
 - 
PROPERTY_START_ON_KEYFRAMEstatic final String PROPERTY_START_ON_KEYFRAME Application Property"streamRecorderStartOnKeyFrame": for specifying the default startOnKeyFrame value used by StreamRecorder.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_RECORD_DATAstatic final String PROPERTY_RECORD_DATA Application Property"streamRecorderRecordData": for specifying the default recordData value used by StreamRecorders.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_MOVE_FIRST_VIDEO_FRAME_TO_ZEROstatic final String PROPERTY_MOVE_FIRST_VIDEO_FRAME_TO_ZERO Application Property"streamRecorderMoveFirstVideoFrameToZero": for specifying the default moveFirstVideoFrameToZero value used by StreamRecorder.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_SPLIT_ON_TC_DISCONTINUITYstatic final String PROPERTY_SPLIT_ON_TC_DISCONTINUITY Application Property"streamRecorderSplitOnTcDiscontinuity": for specifying the default splitOnTcDiscontinuity value used by StreamRecorder.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_SEGMENT_SIZEstatic final String PROPERTY_SEGMENT_SIZE Application Property"streamRecorderSegmentSize": for specifying the default SegmentSize used by StreamRecorder when the segmentationType is set to SEGMENT_BY_SIZE.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_SEGMENT_DURATIONstatic final String PROPERTY_SEGMENT_DURATION Application Property"streamRecorderSegmentDuration": for specifying the default SegmentDuration used by StreamRecorder when the segmentationType is set to SEGMENT_BY_DURATION.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_SEGMENT_SCHEDULEstatic final String PROPERTY_SEGMENT_SCHEDULE Application Property"streamRecorderSegmentSchedule": for specifying the default SegmentSchedule string used by StreamRecorder when the segmentationType is set to SEGMENT_BY_SCHEDULE.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_OUTPUT_PATHstatic final String PROPERTY_OUTPUT_PATH Application Property"streamRecorderOutputPath": for specifying the default path used by StreamRecorder to write recordings.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_OUTPUT_FILEstatic final String PROPERTY_OUTPUT_FILE Application Property"streamRecorderOutputFile": for specifying the default filename used by StreamRecorder for recordings.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_BACK_BUFFER_TIMEstatic final String PROPERTY_BACK_BUFFER_TIME Application Property"streamRecorderBackBufferTime": for specifying the number of milliseconds of packets to pull from the incoming stream buffer and write to file, before beginning the recording.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_NOTIFY_LISTENERstatic final String PROPERTY_NOTIFY_LISTENER Application Property"streamRecorderNotifyListener": for specifying the default listener which will receive StreamRecorder notifications.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_FILE_VERSION_DELEGATEstatic final String PROPERTY_FILE_VERSION_DELEGATE Application Property"streamRecorderFileVersionDelegate": for specifying a default custom file version delegate.Add the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_FILE_VERSION_TEMPLATEstatic final String PROPERTY_FILE_VERSION_TEMPLATE Application Property"streamRecorderFileVersionTemplate": for specifying a default file version template string. NOTE: only applicable when using the default fileVersionDelegateAdd the property to the StreamRecorder Properties section of Application.xml. 
 - 
PROPERTY_TIMESCALEstatic final String PROPERTY_TIMESCALE Application Property"streamRecorderTimescale": for specifying the timescale used when writing packets to a file. It ONLY applies to MP4 file outputs. The only VALID values are 90000 or 100000Add the property to the StreamRecorder Properties section of Application.xml. - See Also:
- StreamRecorderParameters#streamRecorderTimescale, Constant Field Values
 
 - 
PROPERTY_DEFAULT_AUDIO_SEARCH_POSITIONstatic final String PROPERTY_DEFAULT_AUDIO_SEARCH_POSITION Application Property"streamRecorderDefaultAudioSearchPosition": for specifying how audio is found when it may not be in sync with the videoAdd the property to the StreamRecorder Properties section of Application.xml. - See Also:
- StreamRecorderParameters#streamRecorderDefaultAudioSearchPosition, Constant Field Values
 
 - 
PROPERTY_SKIP_KEYFRAME_AUDIO_TIMEOUTstatic final String PROPERTY_SKIP_KEYFRAME_AUDIO_TIMEOUT Application Property"streamRecorderSkipKeyFrameUntilAudioTimeout": for specifying how long audio is waited for.Add the property to the StreamRecorder Properties section of Application.xml. - See Also:
- StreamRecorderParameters#streamRecorderSkipKeyFrameUntilAudioTimeout, Constant Field Values
 
 - 
RECORDER_STATE_ERRORstatic final int RECORDER_STATE_ERROR Value returned by IStreamRecorder getRecorderState() to indicate an error has occurred in the recorder.- See Also:
- RECORDER_STATE_ERROR_STRING, Constant Field Values
 
 - 
RECORDER_STATE_PENDINGstatic final int RECORDER_STATE_PENDING Value returned by IStreamRecorder getRecorderState() to indicate the recorder has been created but it's IStreamRecorder startRecording() method has not yet been called.
 - 
RECORDER_STATE_WAITINGstatic final int RECORDER_STATE_WAITING Value returned by IStreamRecorder getRecorderState() to indicate the recorder has been started but the associated stream is not currently being received by the server (for example the stream is not being published from the encoder)
 - 
RECORDER_STATE_RECORDINGstatic final int RECORDER_STATE_RECORDING Value returned by IStreamRecorder getRecorderState() to indicate the recorder is actively recording data to file.
 - 
RECORDER_STATE_ERROR_STRINGstatic final String RECORDER_STATE_ERROR_STRING String value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_ERROR.- See Also:
- RECORDER_STATE_ERROR, Constant Field Values
 
 - 
RECORDER_STATE_PENDING_STRINGstatic final String RECORDER_STATE_PENDING_STRING String value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_PENDING.- See Also:
- RECORDER_STATE_PENDING, Constant Field Values
 
 - 
RECORDER_STATE_WAITING_STRINGstatic final String RECORDER_STATE_WAITING_STRING String value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_WAITING.- See Also:
- RECORDER_STATE_PENDING, Constant Field Values
 
 - 
RECORDER_STATE_RECORDING_STRINGstatic final String RECORDER_STATE_RECORDING_STRING String value returned by IStreamRecorder getRecorderStateString() when the recorder state is RECORDER_STATE_RECORDING.- See Also:
- RECORDER_STATE_RECORDING, Constant Field Values
 
 
- 
 
-