Package com.wowza.wms.dvr
Interface IDvrRecordingsLoader
- 
 public interface IDvrRecordingsLoaderInterface for loading recordings during DVR Stream Manager initialization.- See Also:
- DvrRecordingsLoaderFactory,- IDvrConstants.PROPERTY_RECORDINGS_LOADER_CLASS
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(IDvrStreamManager dvrMgr)Initialize recordings loadervoidloadArchivedRecordings()Discover and load archived recordingbooleanshouldLoadStream(String streamName, java.util.SortedSet<Integer> versions)Should the given archived streams be laoded.booleanshouldLoadStreamVersion(String streamName, Integer version, java.util.SortedSet<Integer> versions)Should the given archived stream of specific version be laoded.
 
- 
- 
- 
Method Detail- 
initvoid init(IDvrStreamManager dvrMgr) Initialize recordings loader- Parameters:
- dvrMgr- the DVR Stream Manager
 
 - 
loadArchivedRecordingsvoid loadArchivedRecordings() Discover and load archived recording
 - 
shouldLoadStreamboolean shouldLoadStream(String streamName, java.util.SortedSet<Integer> versions)Should the given archived streams be laoded. The method contains logic which determines if all versions of the given stream Name should be loaded or not.- Parameters:
- streamName- Stream name (unversioned)
- versions- sorted set of available versions of this stream
- Returns:
- true if one or more of the streams should be laoded, false otherwise.
 
 - 
shouldLoadStreamVersionboolean shouldLoadStreamVersion(String streamName, Integer version, java.util.SortedSet<Integer> versions)Should the given archived stream of specific version be laoded. The method contains logic which determines if all versions of the given stream Name should be loaded or not.- Parameters:
- streamName- Stream name (unversioned)
- version- the specific version of the stream we are determining if we should laod
- versions- sorted set of all available versions of this stream
- Returns:
- true if one or more of the streams should be laoded, false otherwise.
 
 
- 
 
-