Package com.wowza.wms.dvr
Interface IDvrRecordingsLoader
public interface IDvrRecordingsLoader
Interface for loading recordings during DVR Stream Manager initialization.
- See Also:
-
DvrRecordingsLoaderFactory
IDvrConstants.PROPERTY_RECORDINGS_LOADER_CLASS
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(IDvrStreamManager dvrMgr) Initialize recordings loadervoid
Discover and load archived recordingboolean
shouldLoadStream
(String streamName, SortedSet<Integer> versions) Should the given archived streams be laoded.boolean
shouldLoadStreamVersion
(String streamName, Integer version, SortedSet<Integer> versions) Should the given archived stream of specific version be laoded.
-
Method Details
-
init
Initialize recordings loader- Parameters:
dvrMgr
- the DVR Stream Manager
-
loadArchivedRecordings
void loadArchivedRecordings()Discover and load archived recording -
shouldLoadStream
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.
-
shouldLoadStreamVersion
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 laodversions
- sorted set of all available versions of this stream- Returns:
- true if one or more of the streams should be laoded, false otherwise.
-