Package org.red5.io
Interface IKeyFrameMetaCache
- All Known Implementing Classes:
CachingFileKeyFrameMetaCache,FileKeyFrameMetaCache
public interface IKeyFrameMetaCache
Interface defining a cache for keyframe metadata informations.
- Author:
- The Red5 Project, Joachim Bauch ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionloadKeyFrameMeta(File file) Load keyframe informations for the given file.voidremoveKeyFrameMeta(File file) Remove keyframe information for given file.voidsaveKeyFrameMeta(File file, IKeyFrameDataAnalyzer.KeyFrameMeta meta) Store keyframe informations for the given file.
-
Method Details
-
loadKeyFrameMeta
Load keyframe informations for the given file.- Parameters:
file- File to load informations for.- Returns:
- The keyframe informations or
nullif none exist.
-
removeKeyFrameMeta
Remove keyframe information for given file. Need to update keyframe cache when re-writing file.- Parameters:
file- File to remove information for.
-
saveKeyFrameMeta
Store keyframe informations for the given file.- Parameters:
file- File to save informations for.meta- Keyframe informations for this file.
-