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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(IDvrStreamManager dvrMgr)
Initialize recordings loadervoid
loadArchivedRecordings()
Discover and load archived recordingboolean
shouldLoadStream(String streamName, java.util.SortedSet<Integer> versions)
Should the given archived streams be laoded.boolean
shouldLoadStreamVersion(String streamName, Integer version, java.util.SortedSet<Integer> versions)
Should the given archived stream of specific version be laoded.
-
-
-
Method Detail
-
init
void init(IDvrStreamManager dvrMgr)
Initialize recordings loader- Parameters:
dvrMgr
- the DVR Stream Manager
-
loadArchivedRecordings
void loadArchivedRecordings()
Discover and load archived recording
-
shouldLoadStream
boolean 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.
-
shouldLoadStreamVersion
boolean 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 laodversions
- sorted set of all available versions of this stream- Returns:
- true if one or more of the streams should be laoded, false otherwise.
-
-